Get Hosts/server with CPU usage >99 for 60 minutes

Hi,

Get hosts where CPU usage stays above 99% for 60 minutes.
I know we can do this with Kapacitor StateDuration but is there any other way to do this?
Using flux or Influxql?

Thanks
Ashish