Articles → MICROSOFT AZURE → Computer Groups In Azure Log Analytics
Computer Groups In Azure Log Analytics
Purpose
Steps
- Create 3 virtual machines
- Create a log analytic workspace
- Create and save the query
- Execute the query using computer groups
Create 3 Virtual Machines
Click to EnlargeCreate A Log Analytic Workspace
Create And Save The Query
Heartbeat
| where Computer == "vm1" or Computer == "vm2"
| distinct Computer
Click to EnlargeField | Value |
---|
Function name | vm12CG (or any custom name) |
Legacy category | virtualmachines |
Save as computer group | checked |
Click to EnlargeClick to EnlargeExecute The Query Using Computer Groups
Heartbeat
| where Computer in (vm12CG)
Click to EnlargePosted By - | Karan Gupta |
|
Posted On - | Thursday, July 7, 2022 |