Add x-pack monitoring by default

This change adds xpack monitoring by default for kibana, logstash, and
elasticsearch.

Change-Id: I03c8b8390d33bb996201671aae481415bfc1e691
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-07-23 11:53:31 -05:00
parent 73b0858b5f
commit d6c0fc9613
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
4 changed files with 22 additions and 5 deletions

View File

@ -36,7 +36,7 @@
method: GET
register: elk_data
until: elk_data is success
retries: 3
retries: 5
delay: 5
run_once: true

View File

@ -114,3 +114,9 @@ indices.memory.index_buffer_size: 30%
# Connection throttling on recovery is limited to 75% of the detected interface
# speed. This will improce search speeds and reduce general cluster pressure.
indices.recovery.max_bytes_per_sec: {{ elasticserch_interface_speed }}mb
# ---------------------------------- X-Pack ------------------------------------
# X-Pack Monitoring
# https://www.elastic.co/guide/en/elasticsearch/reference/6.3/monitoring-settings.html
xpack.monitoring.collection.enabled: true
xpack.monitoring.collection.interval: 30s

View File

@ -79,3 +79,14 @@
# Set the value of this setting to true to log all events, including system usage information
# and all requests.
# logging.verbose: false
# ---------------------------------- X-Pack ------------------------------------
# X-Pack Monitoring
# https://www.elastic.co/guide/en/kibana/6.3/monitoring-settings-kb.html
xpack.monitoring.enabled: true
xpack.xpack_main.telemetry.enabled: false
xpack.monitoring.kibana.collection.enabled: true
xpack.monitoring.kibana.collection.interval: 30000
xpack.monitoring.min_interval_seconds: 30
xpack.monitoring.ui.enabled: true
xpack.monitoring.ui.container.elasticsearch.enabled: true

View File

@ -212,11 +212,10 @@ path.logs: /var/log/logstash
# Where to find custom plugins
# path.plugins: []
#
# ------------ X-Pack Settings (not applicable for OSS build)--------------
#
# ---------------------------------- X-Pack ------------------------------------
# X-Pack Monitoring
# https://www.elastic.co/guide/en/logstash/current/monitoring-logstash.html
#xpack.monitoring.enabled: false
xpack.monitoring.enabled: true
#xpack.monitoring.elasticsearch.username: logstash_system
#xpack.monitoring.elasticsearch.password: password
#xpack.monitoring.elasticsearch.url: ["https://es1:9200", "https://es2:9200"]
@ -227,9 +226,10 @@ path.logs: /var/log/logstash
#xpack.monitoring.elasticsearch.ssl.keystore.password: password
#xpack.monitoring.elasticsearch.ssl.verification_mode: certificate
#xpack.monitoring.elasticsearch.sniffing: false
#xpack.monitoring.collection.interval: 10s
xpack.monitoring.collection.interval: 30s
#xpack.monitoring.collection.pipeline.details.enabled: true
#
# ------------ X-Pack Settings (not applicable for OSS build)--------------
# X-Pack Management
# https://www.elastic.co/guide/en/logstash/current/logstash-centralized-pipeline-management.html
#xpack.management.enabled: false