Docker Container Dynamic Groups by type.
We have a fleet of ECS servers supporting our application containers. Each container type does a specific workload. The Dynamic Groups function in LM does not really offer, unless I am really doing this incorrectly, a way to take a string and build the group on that string.
20 containers over 12 ECS nodes run a container where the system.instanceDescription has a string of: ecs-nonprod-pcs1-platform-prod-webreport-cell-d-ecs-1-nonprod-webreport-cell-d-ecs-111222333444555666
Example: isCAS() && (isAppDev() || system.instanceDescription =~ "webreport")
Right now we have to look at every ECS node (pcs1) and find each one. More ECS nodes and more containers this is not going to scale well.
- Are the containers showing up as instances under the node running those containers? - I ask because dynamic grouping only works for resources (the monitored node running the containers) and does not support instances (the containers running on the monitored node). - Having said that, you can group the instances under the monitored node running those instances. We have a support guide for instance grouping under a resource. - https://www.logicmonitor.com/support/devices/device-datasources-instances/instance-groups 


