feat: normalize kubernetes.container.name to container.name like docker log collecting
This commit is contained in:
parent
2dafb5e113
commit
eb2c942861
@ -40,6 +40,12 @@ processors:
|
|||||||
kubernetes.container.name: kilo
|
kubernetes.container.name: kilo
|
||||||
- equals:
|
- equals:
|
||||||
kubernetes.container.name: cfssl-issuer
|
kubernetes.container.name: cfssl-issuer
|
||||||
|
- rename:
|
||||||
|
fields:
|
||||||
|
- from: "kubernetes.container.name"
|
||||||
|
to: "container.name"
|
||||||
|
ignore_missing: true
|
||||||
|
fail_on_error: false
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
kibana:
|
kibana:
|
||||||
@ -70,7 +76,7 @@ output.elasticsearch:
|
|||||||
ssl:
|
ssl:
|
||||||
verification_mode: none
|
verification_mode: none
|
||||||
indices:
|
indices:
|
||||||
- index: "filebeat-%{[agent.version]}-%{[kubernetes.container.name]:common}-%{+yyyy.MM.dd}"
|
- index: "filebeat-%{[agent.version]}-%{[container.name]:common}-%{+yyyy.MM.dd}"
|
||||||
|
|
||||||
|
|
||||||
#logging.json: true
|
#logging.json: true
|
||||||
|
Loading…
Reference in New Issue
Block a user