Loading...
 
[Zobrazit/Skrýt nabídky vlevo]
[Zobrazit/Skrýt nabídky vpravo]

API calls to debug failures

elastic

curl 'localhost:9200/_cat/health'
curl -XGET 'http://localhost:9200/_cat/shards'
curl 'localhost:9200/_cat/indices?v'
curl 'localhost:9200/_cluster/health?pretty'
 curl -XGET 'http://localhost:9200/chcipraci_v9/_settings'
curl -XGET localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason
curl -XPOST "http://localhost:9200/_cluster/reroute?explain"
curl -XGET 'http://localhost:9200/_nodes'

curl -XGET localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED
curl -XGET localhost:9200/_cluster/allocation/explain?pretty

Force allocate failed shards:
curl -XPOST 'localhost:9200/_cluster/reroute?retry_failed

Created by darek. Last Modification: Pátek 29 of červen, 2018 14:05:13 CEST by maty.