diff --git a/elk_netflow/docker-compose.yml b/elk_netflow/docker-compose.yml index e465e3c4..732f0646 100644 --- a/elk_netflow/docker-compose.yml +++ b/elk_netflow/docker-compose.yml @@ -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/ diff --git a/elk_netflow/logstash_netflow.conf b/elk_netflow/logstash_netflow.conf deleted file mode 100644 index 8aa45583..00000000 --- a/elk_netflow/logstash_netflow.conf +++ /dev/null @@ -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}}