log fixes
This commit is contained in:
@@ -42,20 +42,28 @@ config:
|
||||
K8S-Logging.Parser On
|
||||
K8S-Logging.Exclude On
|
||||
|
||||
[FILTER]
|
||||
Name nest
|
||||
Match kube.*
|
||||
Operation lift
|
||||
Nested_under kubernetes
|
||||
Add_prefix kubernetes_
|
||||
|
||||
outputs: |
|
||||
[OUTPUT]
|
||||
Name loki
|
||||
Match kube.*
|
||||
Host loki.monitoring.svc.cluster.local
|
||||
Port 3100
|
||||
Host loki-gateway.monitoring.svc.cluster.local
|
||||
Port 80
|
||||
Labels job=fluent-bit
|
||||
Label_Keys kubernetes_namespace_name,kubernetes_pod_name,kubernetes_container_name
|
||||
Line_Format json
|
||||
|
||||
[OUTPUT]
|
||||
Name loki
|
||||
Match host.*
|
||||
Host loki.monitoring.svc.cluster.local
|
||||
Port 3100
|
||||
Host loki-gateway.monitoring.svc.cluster.local
|
||||
Port 80
|
||||
Labels job=fluent-bit-systemd
|
||||
Line_Format json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user