From 81ffe66c1f68b1237311d148b3b7f6f384beb17b Mon Sep 17 00:00:00 2001 From: Julien Mailleret Date: Thu, 9 Apr 2020 17:15:12 +0200 Subject: [PATCH] [metricbeat] move back to docker input and in_cluster for 6.x container input doesn't exist on 6.8 and in_cluster is still documented --- filebeat/examples/6.x/values.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/filebeat/examples/6.x/values.yaml b/filebeat/examples/6.x/values.yaml index 96987de4d..80e9914c3 100644 --- a/filebeat/examples/6.x/values.yaml +++ b/filebeat/examples/6.x/values.yaml @@ -3,3 +3,16 @@ imageTag: 6.8.8 extraEnvs: - name: ELASTICSEARCH_HOSTS value: six-master:9200 + +filebeatConfig: + filebeat.yml: | + filebeat.inputs: + - type: docker + containers.ids: + - '*' + processors: + - add_kubernetes_metadata: + in_cluster: true + output.elasticsearch: + host: '${NODE_NAME}' + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' \ No newline at end of file