18
0
Fork 0

script de nettoyage moins verbeux (surtout en cas de succès)

This commit is contained in:
jlecour 2017-01-30 11:56:36 +01:00
parent cef80f93fb
commit 9c124c38ae
1 changed files with 1 additions and 1 deletions

View File

@ -570,6 +570,6 @@ indices=$(curl http://127.0.0.1:9200/_cat/indices/logstash-*?h=i | sort | head -
for index in ${indices}; do
# echo Delete ${index}
curl -XDELETE http://127.0.0.1:9200/${index}
curl --silent --fail --show-error -XDELETE http://127.0.0.1:9200/${index} > /dev/null
done
~~~