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
|
||||
- equals:
|
||||
kubernetes.container.name: cfssl-issuer
|
||||
- rename:
|
||||
fields:
|
||||
- from: "kubernetes.container.name"
|
||||
to: "container.name"
|
||||
ignore_missing: true
|
||||
fail_on_error: false
|
||||
|
||||
setup:
|
||||
kibana:
|
||||
@ -70,7 +76,7 @@ output.elasticsearch:
|
||||
ssl:
|
||||
verification_mode: none
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user