From c7b05c6b1ad9a883af1e588f8f42b1271e813879 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Fri, 30 Nov 2018 08:52:34 +0100 Subject: [PATCH] Add some more trouble shooting tips --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f789cf1..958c74d 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,16 @@ # Trouble-Shooting +Get a list of indides: + +``` +curl "http://127.0.0.1:9200/_cat/indices?v" +``` + If an index went read-only: ``` curl -X PUT http://127.0.0.1:9200/[INDEX]/_settings -H 'Content-Type: application/json' -d '{"index.blocks.read_only_allow_delete":null}' ``` + +Or use the prepared script `elasticsearch-remove-readonly` for this. -- GitLab