Elasticsearch [6.8.2]: Cross Cluster Search Config

Hi,
I'm trying to configure cross-cluster-search to query specific remote nodes with the setting node.attr.search: true. To do that I'm updating the settings of the local cluster as follows:

{
  "persistent": {
    "cluster.remote.node.attr": "search"
  }
}

However, that gets the response:

{"error":{"root_cause":[{"type":"remote_transport_exception","reason":"[master-node][x.x.x.x:9300][cluster:admin/settings/update]"}],"type":"illegal_argument_exception","reason":"persistent setting [cluster.remote.node.attr], not dynamically updateable"},"status":400}

What am I doing wrong here?

Thx
D

Try to put this

property in elasticsearch.yml do a rolling restart after it.
You can't configure it via curl because: not dynamically updateable.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.