Created
November 23, 2020 18:55
-
-
Save magickatt/35e051be0807c15f9f8f0708b72b4b11 to your computer and use it in GitHub Desktop.
Filebeat configuration to ignore Consul Connect container logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filebeat.autodiscover: | |
providers: | |
- type: kubernetes | |
hints.enabled: true | |
hints.default_config.enabled: false | |
add_resource_metadata: | |
namespace: | |
enabled: true | |
processors: | |
- add_kubernetes_metadata: | |
in_cluster: true | |
- drop_event: | |
when: | |
equals: | |
kubernetes.container.name: "consul-connect-inject-init" | |
- drop_event: | |
when: | |
equals: | |
kubernetes.container.name: "consul-connect-lifecycle-sidecar" | |
- drop_event: | |
when: | |
equals: | |
kubernetes.container.name: "consul-connect-envoy-sidecar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment