Default index routing allocation

Does there is a way to force all new index, to be route to some specific nodes ?
Lets say I have 8 nodes with:

  • 6 nodes with "node.attr.group": "data"
  • 2 nodes without group

For now every times a new index, is created (automatically like .slm-history-2-000001, ilm-history-2-000001 or other kibana or metricbeats)

I need to change the allocation group manually like "routing.allocation.exclude.group": "data".

Does there is a way to block an index to be assigned to the data group by default ?

You can take a look at using index template to achieve that.

Hope this can help you.

1 Like

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