User image netflow conf by default
parent
29f4f77b89
commit
734ea7ea3f
|
@ -42,6 +42,4 @@ logstash:
|
|||
- "2055/udp:2055/udp"
|
||||
links:
|
||||
- elasticsearch:elasticsearch
|
||||
volumes:
|
||||
- $PWD:/config-dir
|
||||
command: logstash agent -f /config-dir/logstash_netflow.conf
|
||||
command: logstash agent -f /etc/logstash/conf.d/
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
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}}
|
Loading…
Reference in New Issue