diff --git a/dev-upgrade/elastic/filebeat.yaml b/dev-upgrade/elastic/filebeat.yaml index 1bdb65f..c195000 100644 --- a/dev-upgrade/elastic/filebeat.yaml +++ b/dev-upgrade/elastic/filebeat.yaml @@ -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 - hints.enabled: true + providers: + - 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: ~