Skip to content

Instantly share code, notes, and snippets.

@Kvetch
Created May 9, 2017 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kvetch/f155b71475ae52d1f10d7ef207315ab6 to your computer and use it in GitHub Desktop.
Save Kvetch/f155b71475ae52d1f10d7ef207315ab6 to your computer and use it in GitHub Desktop.
input {
beats {
port => 5044
}
}
output {
elasticsearch {
hosts => ["http://localhost:9200"]
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