Hi Everyone,
I was wondering if anyone had a same or similar issue when building a customer query? The below query works if I remove where AlertHistory.AlertObjects.RelatedNodeID='${NodeID}'. So the problem seems to be associated with this particular line. I checked to make sure there is no view limitations that could be causing this error. Yet, I keep getting A query to the SolarWinds Information Service failed when doing SWQL.
select AlertHistory.AlertObjects.AlertConfigurations.Name as [Alert Name],
Message,
AlertHistory.AlertObjects.EntityCaption as [Triggering Object],
ToLocal(Timestamp) as [Time],
AlertHistory.AlertObjects.RelatedNodeCaption as [Related Node],
'https://solarwinds.ci.northwestern.edu/Orion/NetPerfMon/ActiveAlertDetails.aspx?NetObject=AAT:'+ToString(AlertObjectID) as [_linkfor_Message],
'https://solarwinds.ci.northwestern.edu/Orion/NetPerfMon/ActiveAlertDetails.aspx?NetObject=AAT:'+ToString(AlertObjectID) as [_linkfor_Alert Name]
from Orion.AlertHistory
where AlertHistory.AlertObjects.RelatedNodeID='${NodeID}'
order by TimeStamp desc