Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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