Jack
Jack

Reputation: 5890

how can I get ElasticSearch cluster configuration

how can I get ElasticSearch cluster configuration, for example I wanna to know the current value of discovery.zen.minimum_master_nodes.

Upvotes: 3

Views: 9540

Answers (2)

echo_slevin
echo_slevin

Reputation: 61

You can get all the settings including the defaults within the DevTools

GET _cluster/settings?include_defaults

or

curl -XGET localhost:9200/_cluster/settings?include_defaults

if you use your shell.

Upvotes: 5

avr
avr

Reputation: 4893

You can get cluster configuration using following curl request

curl -XGET localhost:9200/_cluster/settings

Hope this helps!

Upvotes: 7

Related Questions