apiVersion: v1 kind: ConfigMap metadata: name: logstash-config namespace: app-notifications data: logstash.yml: | http.host: "0.0.0.0" xpack.monitoring.enabled: false logstash.conf: | input { beats { port => 5044 } } filter { if [level] == "DEBUG" { drop {} } } output { elasticsearch { hosts => ["http://elasticsearch:9200"] user => "elastic" password => "${ELASTIC_PASSWORD}" ssl_verification_mode => none index => "app-notifications-%{+YYYY.MM.dd}" } }