feat(logs/logstash): adding the logstash configuration

This commit is contained in:
Raphael 2025-11-14 16:17:23 +01:00
parent 7356041e0d
commit 2f4d55e119
No known key found for this signature in database

View file

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