how can I get ElasticSearch cluster configuration, for example I wanna to know the current value of discovery.zen.minimum_master_nodes.
You can get cluster configuration using following curl request
curl -XGET localhost:9200/_cluster/settings
Hope this helps!