Hi,
Running 15 node ElasticSearch 0.19.11 cluster on EC2. I'd like to set
the delete_all_indicies option to prevent anyone from doing that. Two
questions.
What's the correct way to set that flag? That goes in elasticsearch.yml?
Is it as simple as:
action.disable_delete_all_indices: true
Is there a way to set that without restarting servers? Do I need to
restart all the servers in the cluster for that option to take effect?
Hi,
Running 15 node Elasticsearch 0.19.11 cluster on EC2. I'd like to set
the delete_all_indicies option to prevent anyone from doing that. Two
questions.
What's the correct way to set that flag? That goes in
elasticsearch.yml? Is it as simple as:
action.disable_delete_all_indices: true
Yes, it's that simple
Is there a way to set that without restarting servers? Do I need to
restart all the servers in the cluster for that option to take effect?
Yes, unfortunately you'll have to restart Elasticsearch for these changes
to take effect. If you have a bigger cluster, and only one or two nodes
with HTTP enabled which get hit by requests directly, I guess it's fine to
only restart those nodes. I haven't tested it, but it should be enough.
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.