Created
December 30, 2017 22:30
-
-
Save gradiuscypher/6acda05927a7a0660d379ca988c73807 to your computer and use it in GitHub Desktop.
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 { | |
file { | |
path => "/nsmdata/logs/suricata/eve.json" | |
} | |
} | |
filter { | |
json { | |
source => "message" | |
remove_field => ["message"] | |
} | |
} | |
output { | |
elasticsearch { | |
hosts => "elastic:9200" | |
manage_template => false | |
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}" | |
document_type => "%{[@metadata][type]}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment