From 7c4e5ca4a6c934e94efc42272db0d72ca3612f06 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 14 Mar 2022 13:29:43 +0000 Subject: [PATCH] Add command to delete index --- useful_elasticsearch_commands.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/useful_elasticsearch_commands.md b/useful_elasticsearch_commands.md index 11de8ef..f21f3e7 100644 --- a/useful_elasticsearch_commands.md +++ b/useful_elasticsearch_commands.md @@ -18,6 +18,12 @@ Get version details of elasticsearch curl -X GET "localhost:9200" ``` +Delete an index + +```bash +curl -X DELETE "localhost:9200/graylog_20" +``` + Get current health ```bash