Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 21097

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

$
0
0

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 21097

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>