User image netflow conf by default

pull/1/head
Baohua Yang 2015-08-13 10:24:34 +08:00
parent 29f4f77b89
commit 734ea7ea3f
2 changed files with 1 additions and 15 deletions

View File

@ -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/

View File

@ -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}}