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.
system.displayname=~"test"
device_type=~"server"
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.