Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to disallow deleting all indices #1367

Closed
karmi opened this issue Sep 26, 2011 · 2 comments
Closed

Add an option to disallow deleting all indices #1367

karmi opened this issue Sep 26, 2011 · 2 comments

Comments

@karmi
Copy link
Contributor

karmi commented Sep 26, 2011

A setting called: action.disable_delete_all_indices (defaults to false) that can be set to true in order to disable deleting all indices in a single API call.

curl -X DELETE localhost:9200

It would, obviously, be a very good idea to set this as false in a production elasticsearch.yml :)

EDIT: Updated wording

@kimchy kimchy closed this as completed in 8fd2832 Sep 27, 2011
@JustinTArthur
Copy link

You mean a good idea to set it to true in production, right?

@Erni
Copy link
Contributor

Erni commented Dec 20, 2013

Why not add this option (and all the possible ones) in elasticsearch.yml? Even if they were commented by default, people could see that they are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants