Added logging via Filebeat -> Logstash

This commit is contained in:
2025-10-21 20:33:33 +02:00
parent 20def0ad16
commit 6e2eb8f8e0
7 changed files with 177 additions and 1 deletions

18
logstash/configmap.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: logstash-config
namespace: app-notifications
data:
logstash.conf: |
input {
beats {
port => 5044
}
}
filter {
if [level] == "DEBUG" { drop {} }
}
output {
stdout { codec => json } # for testing
}