Skip to content

Instantly share code, notes, and snippets.

@eufat
Created July 9, 2018 08:40
Show Gist options
  • Save eufat/f9be9220322f398f7fbbb35c6c2053c2 to your computer and use it in GitHub Desktop.
Save eufat/f9be9220322f398f7fbbb35c6c2053c2 to your computer and use it in GitHub Desktop.
input {
beats {
port => 5044
}
}
## Add your filters / logstash plugins configuration here
filter {
kv {}
csv {
convert => {
method => text
duration => integer
key => integer
timestamp => long
}
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment