Automatic index creation is controlled by the action.auto_create_index setting. This setting defaults to true , which allows any index to be created automatically. You can modify this setting to explicitly allow or block automatic creation of indices that match specified patterns, or set it to false to disable automatic index creation entirely. Specify a comma-separated list of patterns you want to allow, or prefix each pattern with + or - to indicate whether it should be allowed or blocked. When a list is specified, the default behaviour is to disallow.
If you set that to false and saw errors, it'd be helpful if you posted your config and the log.
I was facing the error by adding this line action.auto_create_index : false in my elasticsearch.yml.
So I removed this line and tried with PUT condition
PUT _cluster/settings
{
"persistent": {
"action.auto_create_index": "false"
}
}
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.