Example NRQL
SELECT result, duration as MS, duration/1000 as Seconds, duration/1000/60 as Minutes, monthof(timestamp) as Month, weekdayof(timestamp) as DOW, monitorName
FROM SyntheticCheck
WHERE monitorName like ‘xxxxxxxxxxxx%’
and result = ‘FAILED’
and weekdayof(timestamp) not in (‘Saturday’,‘Sunday’)
and hourof(timestamp) not in (‘20:00’,‘21:00’,‘22:00’,‘23:00’,‘0:00’,‘1:00’,‘2:00’,‘3:00’,‘4:00’,‘5:00’,‘6:00’,‘7:00’)
since ‘2017-01-01 00:00:00’
limit 1000
order by timestamp
Seems simple, should work in my mind! I assume I need to use filter? Have not been able to apply filter and get this query working. Suggestions please. The first view rows return 03 hour. Is this a UTC to EST issue?