From d623695a542ded279875c05259938384d9fedecb Mon Sep 17 00:00:00 2001 From: Daniel Jakots Date: Thu, 8 Mar 2018 12:57:34 -0500 Subject: [PATCH] =?UTF-8?q?+=20lister=20les=20index,=20pas=20s=C3=BBr=20si?= =?UTF-8?q?=20c'est=20c'est=20parfait,=20mais=20c'est=20mieux=20que=20rien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoElasticsearch.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HowtoElasticsearch.md b/HowtoElasticsearch.md index 19678ea8..3ff8da2e 100644 --- a/HowtoElasticsearch.md +++ b/HowtoElasticsearch.md @@ -662,3 +662,12 @@ for index in ${indices}; do curl --silent --fail --show-error -XDELETE http://127.0.0.1:9200/${index} > /dev/null done ~~~ + + +### Lister les indexs + +Cette commande est pratique pour voir la taille que prennent les index + +~~~ +$ curl -XGET "http://localhost:9200/_cat/shards?v" +~~~