Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filebeat configuration to ignore Consul Connect container logs
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