Search code examples
elasticsearch

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.


Solution

  • You can get cluster configuration using following curl request

    curl -XGET localhost:9200/_cluster/settings
    

    Hope this helps!