Created
March 31, 2020 18:32
-
-
Save jasonish/9c1566f15040d7ef93c8804595b98f18 to your computer and use it in GitHub Desktop.
Filebeat -> Logstash -> ElasticSearch
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: log | |
enabled: true | |
paths: | |
- /var/log/suricata/eve.json | |
output.logstash: | |
hosts: ["10.16.1.10:5044"] |
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
input { | |
beats { | |
port => 5044 | |
codec => "json" | |
} | |
} | |
output { | |
elasticsearch { | |
hosts => "http://elasticsearch:9200" | |
index => "logstash-alert-%{+YYYY.MM.dd}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment