Answers for "delete shards in elasticsearch currl"

0

delete shards in elasticsearch currl

[root@localhost ~]#curl -XGET http://localhost:9200/_cat/shards | grep UNASSIGNED | awk {'print $1'} | xargs -i curl -XDELETE "http://localhost:9200/{}"
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language