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 }