Created
September 21, 2019 05:48
-
-
Save chamilad/9e6e6eaf92c7cff5bcef400cbea31b9b to your computer and use it in GitHub Desktop.
Minimal Filebeat Config for K8s
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.inputs: | |
- type: container | |
paths: | |
- /var/log/containers/*.log | |
processors: | |
- add_kubernetes_metadata: | |
in_cluster: true | |
processors: | |
- add_cloud_metadata: | |
- add_host_metadata: | |
output.logstash: | |
hosts: ["logstash.default.svc.cluster.local:5044"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment