Added logging via Filebeat -> Logstash
This commit is contained in:
18
logstash/configmap.yaml
Normal file
18
logstash/configmap.yaml
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user