Created
April 14, 2020 15:04
-
-
Save VerosK/7e310e4fafe999a6a0a87572a339eb7c to your computer and use it in GitHub Desktop.
Multiple logstash inputs
This file contains hidden or 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 | |
fields: | |
docker_env: prod | |
paths: | |
- /var/log/containers-prod/*.log | |
- type: container | |
fields: | |
docker_env: dev | |
paths: | |
- /var/log/containers-dev/*.log | |
output.elasticsearch: | |
hosts: ['elasticsearch.services:9200'] | |
protocol: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment