Open ejholmes opened 6 years ago
It's not yet implemented but it can be done easily, check this file: https://github.com/draios/sysdig/blob/dev/userspace/libsinsp/filterchecks.cpp#L5463
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
At the moment
sysdig -l
shows a couple filters that can be used to filter on labels from kubernetes, mesos and marathon:I was somewhat surprised to find that there isn't a
container.labels
ordocker.labels
filter for any docker labels on the container. We're heavy users of ECS, so having the ability to filter on plain docker labels would be helpful.