How to exclude a template from Elasticsearch Auto index creation

Hello everyone,
I have beats index template in my cluster. Auto index creation (*) is enabled for all templates in this cluster. And I decided to setup new cluster for beats data. But I need to prevent access to old cluster. How can I prevent to create beats index when auto index creation is enabled in my old cluster? Is there any way to exclude beats template from auto index creation settings?

Like this, auto index creation = *,-beats?
(I need to use *(all) in this setting)

Hi,

Here's an example:

action.auto_create_index: "logstash*,myapp*, -*"

This setting will allow auto-creation of indices that start with logstash or myapp, and deny creation of all other indices.

Regards

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