From 2f4d55e119c6bb1c6a23d6a05176ae2c2459d119 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 14 Nov 2025 16:17:23 +0100 Subject: [PATCH] feat(logs/logstash): adding the logstash configuration --- logs/logstash/pipeline/logstash.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 logs/logstash/pipeline/logstash.conf 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 + } +}