I've been trying to work out a query to list nodes by how long they've been in an alert state over the past 30 calendar days, not just active alerts by age.
Hi all,
I’m looking to create a SWQL-based report that flags systems which tend to remain in a Warning or Critical state for an extended period of time.
The goal is to:
Calculate the total duration in hours that each node has spent in a warning or critical state over the last 30 calendar days
Help identify systems that require deeper analysis or corrective action based on recurring or prolonged alert conditions
Ideally include both resolved and currently active alerts
Any suggestions on how to best approach this in SWQL would be greatly appreciated.
Thanks in advance!