How to show the settings of discovery?

As we know, we can use curl host IP:9200/nodes/transport?pretty to get the settings about the transport. But how to show the settings of discovery? Such as discovery.type?

The discovery.type setting will be available in 7.0 in the cluster stats thanks to #36442.

However, discovery settings are generally only important while a node is joining the cluster, so are set in the elasticsearch.yml file. Moreover, many of them are not dynamic and cannot be set via the API. Can you explain why you want to retrieve this information via the API?

Just want to show a parameter.

I understand that this is what you want to do, but I do not understand why.

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