Container logs collected without Kubernetes metadata
Container logs were being collected directly from the 'log' input. Container logs are now being collected using Filebeat's 'container' input, which adds the Kubernetes meta-data to the logs. Change-Id: I8f1e01442ee4d52c2882ae4bfd3529cc2891f075 Signed-off-by: Simon Cousineau <Simon.Cousineau@windriver.com>
This commit is contained in:
parent
f97b837f49
commit
2f5215f29b
|
@ -458,6 +458,10 @@ data:
|
|||
- type: kubernetes
|
||||
host: ${NODE_NAME}
|
||||
hints.enabled: true
|
||||
hints.default_config:
|
||||
type: container
|
||||
paths:
|
||||
- /var/log/containers/*-${data.kubernetes.container.id}.log
|
||||
setup-script.sh: |
|
||||
#!/bin/bash
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue