Quantcast
Viewing all articles
Browse latest Browse all 20518

Re: In SWQL Studio, how to find the groups an application belongs to?

I know it is not completely correct but maybe it is helpful for you. This code gives you for a node applications.

 

SELECT cm.ContainerID, n.Caption, apps.Name

FROM Orion.ContainerMembers cm

inner join Orion.Nodes n on CONCAT('swis://<hostname>/Orion/Orion.Nodes/NodeID=', n.NodeID) = cm.MemberUri

inner join Orion.APM.Application apps on apps.NodeID = n.NodeID

WHERE MemberEntityType = 'Orion.Nodes'

AND n.NodeID = 12009

 

You must change <hostname> info according to your system/hostname. And this code referred to Orion.Nodes Entity Type. You should change for that your purpose.


Viewing all articles
Browse latest Browse all 20518

Trending Articles