Skip to content

Instantly share code, notes, and snippets.

@deruke
Created September 20, 2017 12:42
Show Gist options
  • Save deruke/d49b0ce957e1d7fcd8215ccae460f8c6 to your computer and use it in GitHub Desktop.
Save deruke/d49b0ce957e1d7fcd8215ccae460f8c6 to your computer and use it in GitHub Desktop.
input {
tcp {
port => 3515
codec => json
}
}
filter {
mutate {
add_tag => "forwardedevtx"
}
}
output
{
elasticsearch {
hosts => [ "127.0.0.1:9200" ]
index => "forwardedevtx-%{+YYYY.MM.dd}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment