main
ycz008 2023-09-22 18:15:15 +08:00
parent fc8311f631
commit bb1a937c1a
1 changed files with 9 additions and 3 deletions

View File

@ -12,10 +12,16 @@ data:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
# To enable hints based autodiscover, remove `filebeat.inputs` configuration and uncomment this:
filebeat.autodiscover:
providers:
- type: docker
- type: kubernetes
node: ${NODE_NAME}
hints.enabled: true
# hints.default_config:
# type: container
# paths:
# - /var/log/containers/*${data.kubernetes.container.id}.log
processors:
- add_cloud_metadata: ~