OMS Syntax post series: #2 Computers

Part 2 of the OMS Syntax series


Just a list of distinct computers in the OMS workspace (just returns the count and name rather than all the other details)

Computer=* | Distinct Computer

A similar list to the above but shows the computers sorted by aggregated value (i.e. sorted by  computers that have the most data)

Computer=* | measure count () by Computer

Remember that OMS Query Language (OQL) is case sensitive, so this will find a Computer called OM2016


but this example wouldn't find that machine : Computer=Om*

This also works:


As does a Regular Expression, see more on RegEx here: 



Comments (0)

Skip to main content