From 77ff0af97024c13c5a5e245651d93146a4519666 Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Mon, 26 Apr 2021 14:25:35 +0200 Subject: [PATCH] logstash: Disable legacy monitoring data collection Deprecated since 7.9.0, removed in 8.0.0. https://www.elastic.co/guide/en/logstash/current/monitoring-internal-collection-legacy.html --- README.md | 3 +-- logstash/config/logstash.yml | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index 2b96643d20..138004052e 100644 --- a/README.md +++ b/README.md @@ -190,8 +190,7 @@ users][builtin-users] instead for increased security. 1. Replace usernames and passwords in configuration files - Use the `kibana_system` user inside the Kibana configuration file (`kibana/config/kibana.yml`) and the - `logstash_system` user inside the Logstash configuration file (`logstash/config/logstash.yml`) in place of the + Use the `kibana_system` user inside the Kibana configuration file (`kibana/config/kibana.yml`) in place of the existing `elastic` user. Replace the password for the `elastic` user inside the Logstash pipeline file (`logstash/pipeline/logstash.conf`). diff --git a/logstash/config/logstash.yml b/logstash/config/logstash.yml index a48c35ff58..47722ea7f3 100644 --- a/logstash/config/logstash.yml +++ b/logstash/config/logstash.yml @@ -3,10 +3,3 @@ ## https://github.com/elastic/logstash/blob/master/docker/data/logstash/config/logstash-full.yml # http.host: "0.0.0.0" -xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ] - -## X-Pack security credentials -# -xpack.monitoring.enabled: true -xpack.monitoring.elasticsearch.username: elastic -xpack.monitoring.elasticsearch.password: changeme