This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Does SWIS map to dbo.AlertLog so I can see logged alert actions by SWQL?

Something akin to:

SELECT TOP 100

DATEADD(mi, DATEDIFF(mi, GETUTCDATE(), GETDATE()), a.LogDateTime)

       AS ColumnInLocalTime

, d.AlertName

, a.ObjectType

, a.ObjectName

, a.ActionType

, a.Message

, '/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N%3a' + a.ObjectID AS [DetailsURL]

FROM Orion.dbo.AlertLog a

INNER JOIN Orion.dbo.AlertDefinitions d on d.AlertDefID = a.AlertDefID

ORDER BY a.LogDateTime desc