Forum Discussion

derek_haneman's avatar
11 months ago

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 formatted to combine them. 

I just want the custom query to contain the following.

2 Replies

  • Thanks Mike, that's perfect. My old SQL brain wanted it to be AND in-between the statements ;). Also duh, wow right there in the section I glossed over. 

  • 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

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