I'm trying to create a Modern Dashboard widget that will give a snapshot of activity over the VLANS of a specific node. This is a Juniper device so the VLANS are .irb interfaces. I've been messing around with SWQL queries trying to stumble my way into the answer but I think this is a bit beyond me. Please share advice on how to approach this query. Below I have included the output I am aiming to get. I would also appreciate feedback on whether there is a better way to approach this problem.
GOAL OUTPUT:
VLAN BPS
1 0
200 1000
250 100000
... ...
Current Query:
SELECT TOP 10 n.InterfaceAlias,n.Bps
FROM Orion.NPM.Interfaces n
WHERE (
(n.Node LIKE 'CN')
AND
(InterfaceAlias LIKE '.irb%'))