mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
logging: fluent-bit: remove prefix kubernetes_
This commit is contained in:
parent
767330e6cd
commit
b9f7ccd777
1 changed files with 17 additions and 2 deletions
|
|
@ -35,12 +35,27 @@ fluent-bit:
|
||||||
output: |
|
output: |
|
||||||
[OUTPUT]
|
[OUTPUT]
|
||||||
Name gelf
|
Name gelf
|
||||||
Match *
|
Match kube.*
|
||||||
Host graylog-udp
|
Host graylog-udp
|
||||||
Port 12201
|
Port 12201
|
||||||
Mode udp
|
Mode udp
|
||||||
Gelf_Short_Message_Key log
|
Gelf_Short_Message_Key log
|
||||||
|
rawConfig: |
|
||||||
|
@INCLUDE fluent-bit-service.conf
|
||||||
|
@INCLUDE fluent-bit-input.conf
|
||||||
|
@INCLUDE fluent-bit-filter.conf
|
||||||
|
[FILTER]
|
||||||
|
Name nest
|
||||||
|
Match kube.*
|
||||||
|
Operation lift
|
||||||
|
Nested_under kubernetes
|
||||||
|
[FILTER]
|
||||||
|
Name modify
|
||||||
|
Match kube.*
|
||||||
|
Rename container_name container
|
||||||
|
Rename namespace_name namespace
|
||||||
|
Rename pod_name pod
|
||||||
|
@INCLUDE fluent-bit-output.conf
|
||||||
|
|
||||||
graylog:
|
graylog:
|
||||||
nameOverride: graylog
|
nameOverride: graylog
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue