Set this in your elasticsearch.yml
configs for the cluster:
action.auto_create_index: false
That will prevent indices from being automatically created.
Set this in your elasticsearch.yml
configs for the cluster:
action.auto_create_index: false
That will prevent indices from being automatically created.
Getting an error on restarting elasticsearch.
In elasticsearch.yml file I added line-
action.auto_create_index: +name*, -*
After this I tried to restart elasticsearch and I got the following error-
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.