count all nodes from agent

Copper Contributor

peter670_0-1670413097395.png

I'm struggling with a pretty simple thing, but I can't find a solution. How can I make a query that only counts all nodes related to the agent?

1 Reply
VMConnection
| summarize countif(ProcessName =="node") by AgentId