Created
April 10, 2019 05:45
-
-
Save rav94/1a2eb74f7f658598b3f46f3390685ed0 to your computer and use it in GitHub Desktop.
Logstash configuration for basic filebeat log collection
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
input { | |
beats { | |
port => 5044 | |
} | |
} | |
## Add your filters / logstash plugins configuration here | |
filter { | |
} | |
output { | |
elasticsearch { | |
hosts => "elasticsearch:9200" | |
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}" | |
} | |
stdout {codec => rubydebug} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment