logging: fix fluent-bit loki labels
This commit is contained in:
parent
19f1060b87
commit
f8fad8d599
@ -87,7 +87,7 @@ spec:
|
|||||||
Match kube.*
|
Match kube.*
|
||||||
Host loki.logging.svc.cluster.local
|
Host loki.logging.svc.cluster.local
|
||||||
Port 3100
|
Port 3100
|
||||||
labels {job="fluent-bit", namespace="$kubernetes['namespace_name']", pod="$kubernetes['pod_name']", container="$kubernetes['container_name']"}
|
labels job=fluent-bit,namespace=$kubernetes['namespace_name'],pod=$kubernetes['pod_name'],container=$kubernetes['container_name']
|
||||||
line_format json
|
line_format json
|
||||||
|
|
||||||
[OUTPUT]
|
[OUTPUT]
|
||||||
@ -95,5 +95,5 @@ spec:
|
|||||||
Match journald.*
|
Match journald.*
|
||||||
Host loki.logging.svc.cluster.local
|
Host loki.logging.svc.cluster.local
|
||||||
Port 3100
|
Port 3100
|
||||||
labels {job="systemd"}
|
labels job=systemd
|
||||||
line_format json
|
line_format json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user