diff --git a/logs/logstash/pipeline/logstash.conf b/logs/logstash/pipeline/logstash.conf new file mode 100644 index 0000000..d3a643c --- /dev/null +++ b/logs/logstash/pipeline/logstash.conf @@ -0,0 +1,22 @@ +input { + gelf { + port => 12201 + } +} + +filter { + mutate { + rename => { "[full_message]" => "message" } + } +} + +output { + elasticsearch { + hosts => ["http://elasticsearch:9200"] + index => "docker-%{[container_name]}-%{+YYYY.MM.dd}" + } + + stdout { + codec => rubydebug + } +}