elasticsearch-HQ icon indicating copy to clipboard operation
elasticsearch-HQ copied to clipboard

recommended add delete index function

Open awoter opened this issue 6 years ago • 9 comments

General information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • ElasticHQ Version: 3.2
  • Elasticsearch Version: 5.6.4
  • Python version: 3.4.6
  • Browser Vendor and Version (if applicable): Chrome 62.*

Issue Description

indices detail page --> Administration ---> recommended add delete index function

awoter avatar Apr 05 '18 03:04 awoter

We're considering it. We may hold off on adding this until we have users/roles/permissions in place. This is a highly destructive operation that allowing any user to do without credentials may be a bad idea.

royrusso avatar Apr 06 '18 14:04 royrusso

Good,Look forward to your early release.

awoter avatar Apr 07 '18 01:04 awoter

LOL, I'm new with elastic and I was exactly looking for that. Since I'm running lot of experiments while learning now I have tons of indexes.

agarzon avatar Apr 13 '18 17:04 agarzon

Just a hint that may make things easier while you learn... the DELETE call will take a pattern: curl -XDELETE http://localhost:9200/foo*

royrusso avatar Apr 13 '18 17:04 royrusso

LOL again, I just executed that command right now, someone is spying me :

❯ docker-compose exec webphp sh# curl	
# curl -XDELETE http://elastic:9200/my_apps_index

agarzon avatar Apr 13 '18 18:04 agarzon

You can add checkboxes to an index list and allow deleting indices in batch.

markb-trustifi avatar Jan 30 '19 13:01 markb-trustifi

When is this happening?

Not sure but if I remember correctly ElasticHQ has a delete index sometime ago. But can't find it now :-(

wongjasont avatar Nov 04 '19 02:11 wongjasont

What if there were at least a config option to enable delete functionality for now? I'm just running it locally in Docker against a local ES cluster in Docker. I'm more interested in a having a useful GUI for quick actions while developing than worrying about security or accidentally destroying an index. However, I understand the legitimate concern for other situations so a flag that has to be set with an environment variable or config file change would be a perfect solutions until users and permissions exist.

jwarkentin avatar Dec 09 '19 23:12 jwarkentin

I just find the UI to be confusing. I too am developing something locally and am rebuilding indexes etc. I find it weird that there is a menu item under indicies called Deleted Indicies but then no way to actually delete.

ronnyek avatar Jun 16 '20 17:06 ronnyek