13 lines
372 B
Plaintext
13 lines
372 B
Plaintext
input {
|
|
udp {
|
|
port => 2055
|
|
codec => netflow {
|
|
definitions => "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-netflow-1.0.0/lib/logstash/codecs/netflow/netflow.yaml"}}
|
|
}
|
|
|
|
output {
|
|
#stdout { codec => rubydebug}
|
|
elasticsearch {
|
|
index => "logstash_netflow-%{+YYYY.MM.dd}"
|
|
host => elasticsearch}}
|