Auto import dangling indices to "no"

I would like to make Auto import dangling indices to "no", can anyone please help me out here, how to do it and which file i need to change. Can you tell me the file location.

You can add

gateway.local.auto_import_dangled: no

in the elasticsearch.yml and restart ES.

Hi jkuang, thanks for your responce.
I've added "gateway.local.auto_import_dangled: no" to elasticsearch.yml. It is working

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