Skip to content

Instantly share code, notes, and snippets.

@jasonish
Created March 31, 2020 18:32
Show Gist options
  • Save jasonish/9c1566f15040d7ef93c8804595b98f18 to your computer and use it in GitHub Desktop.
Save jasonish/9c1566f15040d7ef93c8804595b98f18 to your computer and use it in GitHub Desktop.
Filebeat -> Logstash -> ElasticSearch
filebeat.inputs:
- type: log
enabled: true
paths:
- /var/log/suricata/eve.json
output.logstash:
hosts: ["10.16.1.10:5044"]
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