Forum Discussion

Sean Tompkins's avatar
Sean Tompkins
Copper Contributor
Oct 06, 2017
Solved

Computer Groups with new query language?

I'm trying to set up computer groups in my OMS environment, but running into some issues. Has anyone used computer groups successfully with the new query language?   I see the created computer grou...
  • Stanislav_Zhelyazkov's avatar
    Stanislav_Zhelyazkov
    Oct 10, 2017

    Example:

    Heartbeat | where Computer contains "SRV" | distinct Computer 

     

    You will create function out of this query and save with it with alias MyComputers for example. Than in a new query you can refer to it in this way for example:

     

    Perf | where Computer in (MyComputers) 

     

    If it does not work right away in the Analytics Portal try refreshing it.

Resources