-
-
Notifications
You must be signed in to change notification settings - Fork 67
Elasticsearch Debugging
Jason Ish edited this page Jun 16, 2020
·
6 revisions
curl http://localhost:9200/_template/logstash
curl http://localhost:9200/_cat/templates
curl http://localhost:9200/_cat/indices
curl http://localhost:9200/_cat/indices/logstash*
curl http://localhost:9200/logstash-2020.05.14/_mapping
For the error:
elasticsearch_1 | "stacktrace": ["org.elasticsearch.action.search.SearchPhaseExecutionException: Partial shards failure (1 shards unavailable)",
the following command appeared to fix the issue:
curl -X PUT "localhost:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d'
{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}
'