From 56ff4c5cfdfc7fd84a10bd1d69418109e25c2560 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 20 Sep 2022 17:13:46 +0200 Subject: Prod-like telemetry into staging --- .../bad.telemetry-elastic/config/filebeat.yml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 experimental/bad.telemetry-elastic/config/filebeat.yml (limited to 'experimental/bad.telemetry-elastic/config/filebeat.yml') diff --git a/experimental/bad.telemetry-elastic/config/filebeat.yml b/experimental/bad.telemetry-elastic/config/filebeat.yml new file mode 100644 index 0000000..310afd1 --- /dev/null +++ b/experimental/bad.telemetry-elastic/config/filebeat.yml @@ -0,0 +1,46 @@ +# see https://github.com/elastic/beats/blob/master/filebeat/filebeat.reference.yml +filebeat.modules: +- module: system + syslog: + enabled: true + auth: + enabled: true + +#filebeat.inputs: +#- type: container +# enabled: true +# paths: +# -/var/lib/docker/containers/*/*.log +# stream: all # can be all, stdout or stderr + +#========================== Filebeat autodiscover ============================== +filebeat.autodiscover: + providers: + - type: docker + # https://www.elastic.co/guide/en/beats/filebeat/current/configuration-autodiscover-hints.html + # This URL alos contains instructions on multi-line logs + hints.enabled: true + +#================================ Processors =================================== +processors: +# - add_cloud_metadata: ~ +- add_docker_metadata: ~ +- add_locale: + format: offset +- add_host_metadata: + netinfo.enabled: true + +#========================== Elasticsearch output =============================== +output.elasticsearch: + hosts: ["localhost:9200"] + username: elastic + password: {{ key "secrets/telemetry/elastic_passwords/elastic" }} + +#============================== Dashboards ===================================== +setup.dashboards: + enabled: false + +#============================== Xpack Monitoring =============================== +xpack.monitoring: + enabled: true + elasticsearch: -- cgit v1.2.3