Skip to content

Instantly share code, notes, and snippets.

@tomarch
Created February 23, 2015 10:38
Show Gist options
  • Save tomarch/d824d5781a725cf68a10 to your computer and use it in GitHub Desktop.
Save tomarch/d824d5781a725cf68a10 to your computer and use it in GitHub Desktop.
input {
#netflow
udp {
host => "0.0.0.0"
port => 9995
codec => netflow
type => "netflow"
tags => "netflow"
}
}
output {
if "netflow" in [tags] {
elasticsearch {
host => localhost
protocol => http
}
stdout { codec => rubydebug }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment