Index template

Hi Elastic community,

I've enabled mapper size plugin to help me with the sizing of my cloud cluster. I tried to modify an existing Index template with this API by adding a component template to enable the new meta field with this command:

PUT /_index_template/template_1
{
  "index_patterns": ["logs-my.dataset-*"],
  "composed_of": ["template1", "template2"]
}

It ended up overriding all of the index template settings, only index_patterns and composed_of are shown when I call this command compared to what it was displayed before the modification:

GET _index_template/template_1

Fortunately, I've copied the whole settings before updating the template. What did I do wrong? Anytime I want to modify a single setting, I must include all of the settings even if they are not impacted by the change?

Thanks

Philippe

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