grep filter: If you want to filter multiple apps or filter according to multiple rules, how should you write the configuration #6248
changdongkai
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
{
"log": "something",
"kubernetes": {
"pod_name": "myapp-0",
"namespace_name": "default",
"pod_id": "216cd7ae-1c7e-11e8-bb40-000c298df552",
"labels": {
"app": "myapp"
},
"host": "minikube",
"container_name": "myapp",
"docker_id": "370face382c7603fdd309d8c6aaaf434fd98b92421ce"
}
}
[FILTER]
Name grep
Match *
Exclude $kubernetes['labels']['app'] myapp
Beta Was this translation helpful? Give feedback.
All reactions