Forum Discussion

derek_haneman's avatar
9 months ago
Solved

Dynamic groups formatting question

Hi all, I’m new to the product and trying to figure out the basics of how it wants things formatted. I’m trying to setup a simple Dynamic group with 2 variables and can’t figure out how it wants it f...
  • Mike_Moniz's avatar
    9 months ago

    You can combine conditions with either “&&” (and) or “||” (or). For your example you can use:

    system.displayname=~"test" && device_type=~"server"

    These are called “AppliesTo” and you can read up all the details about it at https://www.logicmonitor.com/support/terminology-syntax/scripting-support/what-is-lms

    Also keep mind that inherited properties (like those applied to groups/folders) will not work in dynamic grouping. This is to prevent loops.