Skip to content

Instantly share code, notes, and snippets.

@eufat
Created July 9, 2018 10:00
Show Gist options
  • Save eufat/fe3018e6e392365321857898583dfd31 to your computer and use it in GitHub Desktop.
Save eufat/fe3018e6e392365321857898583dfd31 to your computer and use it in GitHub Desktop.
input {
beats {
port => 5044
}
}
## Add your filters / logstash plugins configuration here
filter {
csv {
columns => ["used_memory", "cpu_used_sys"]
separator => ","
convert => {
"used_memory" => "integer"
"cpu_used_sys" => "float"
}
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment