I have elasticsearch cluster, and I add indices.memory.index_buffer_size parameter in elasticsearch.yml file. I set this parameter be 70%. And then the cluster began to indexing. After all, I reset this parameter be 10%, and I restart the elasticsearch.
My question is how can I check my settings are working?
I think (but I'm not positive) that it should show up in the nodes information API. Try this:
curl -XGET "http://localhost:9200/_nodes?clear&all"
You can use the /_nodes API, but what I found puzzling was that the value for the setting is not returned if you are using the default. But once you change it (in elasticsearch.yml) and rebounce your cluster, it >will< appar in the output of the /_nodes API call.
to illustrate.
My guess is that this is the case for any .yml setting, not just this one (although i have not verified that theory).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With