From 0bb4435caab2891f3b17580d33ff25e95dd517b9 Mon Sep 17 00:00:00 2001 From: Erik Berg Date: Mon, 11 Jan 2021 07:37:41 +0100 Subject: [PATCH] Switch deprecated options to "modern" equivalents Change-Id: I1a91b36a2b0d01a1c42ba21e735ba261201ac1a4 --- .../roles/elasticsearch/templates/elasticsearch.yml.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elk_metrics_7x/roles/elasticsearch/templates/elasticsearch.yml.j2 b/elk_metrics_7x/roles/elasticsearch/templates/elasticsearch.yml.j2 index cda697cd..212a9607 100644 --- a/elk_metrics_7x/roles/elasticsearch/templates/elasticsearch.yml.j2 +++ b/elk_metrics_7x/roles/elasticsearch/templates/elasticsearch.yml.j2 @@ -111,10 +111,10 @@ node.data: {{ elasticsearch_node_data | default(data_node) }} # {% if elasticsearch_node_ingest is defined %} node.ingest: {{ elasticsearch_node_ingest }} -cluster.remote.connect: {{ elasticsearch_node_ingest }} +node.remote_cluster_client: {{ elasticsearch_node_ingest }} {% else %} node.ingest: {{ data_node }} -cluster.remote.connect: {{ data_node }} +node.remote_cluster_client: {{ data_node }} {% endif %} # # ---------------------------------- Gateway ----------------------------------- @@ -146,7 +146,7 @@ thread_pool: # override the number of detected processors. This can be done by explicitly # setting the processors setting. On Kibana hosts where elasticsearch is running # as a coordination node, the processor count is limited. -processors: {{ processors }} +node.processors: {{ processors }} {% endif %}