Hey everyone, i'm trying to cound the triggered alerts in a web based report for several Alerts, but i noticed that the IN statement takes only the first value inside parenthesis.
here's the SWQL code:
SELECT
COUNT( AlertHistoryID ) AS [Alert Count]
, oah.AlertObjects.AlertConfigurations.DisplayName AS [Alert Name]
, oah.AlertObjects.AlertConfigurations.AlertID AS [Alert ID]
, oah.AlertObjects.AlertConfigurations.Frequency AS [Alert Evaluation Frequency (seconds)]
FROM Orion.AlertHistory oah
WHERE EventType = 0 and oah.AlertObjects.AlertConfigurations.AlertID IN ( 514, 537, 535)
thanks in advance