How to get a specific ES setting?


#1

Is there a way to get from ES the value of a specific setting? For instance, imagine that we want to know the value of index.translog.flush_threshold_period so to know whether it has been changed manually or it has its default value.
I'm talking about something like that:
http://mynode:9200/_all/_settings?name=index.translog.flush_threshold_period

I've read these similar questions (here and here) but as far as I understood them the OPs wanted to get the full list of settings the node or cluster is using. On my part, I'd like to get a particular setting.

Thanks in advance.

EDIT: It will appear in the output of http://mynode:9200/_all/_settings when set as different from its default value. However, is it possible to get this value alone?


(Mark Walkom) #2

No there isn't unfortunately. Please do raise something against GH though as it sounds like a good one!


(system) #3