Hello Experts,
I am trying to build one modern dahsboard KPI dashboard which helps me to get number of down devices region wise. We are using "Region" as custom property to update the device region details.
The requirement is that we want to see number of down devices in recent times not all the down devices (Devices went down in past 5 mins only) . The entire agenda is that we have alerts and incidents in place to trigger for any alert after 5 mins, so we want to capture device down details before we get alert & incident to act proactively and reduce our incident count.
I am able to get one query but when i click on it, it is not redirecting me to the list of down devices and i am getting only the down number from the entire region. And i couldn't build the query related to timeline as recent down (in 5 mins). Any help on this would be very helpful.
Below is the query that i tried:
SELECT COUNT(1) as TheCount, '/apps/platform/dashboard/26' as Link
FROM Orion.Nodes n
INNER JOIN Orion.NodesCustomProperties cp ON cp.NodeID = n.NodeID
WHERE n.Status = 2 and cp.region = 'emea'
In the above query, Link is not working as i couldnt build it properly to show the EMEA down devices :-( and time period details to be updated in query.
Please help.
Thank you.