Difference between revisions of "Elasticsearch troubleshooting"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
* <code>[[curl http://localhost:9200/_cluster/health?pretty]] -k -u'admin:adminpass'</code> | * <code>[[curl http://localhost:9200/_cluster/health?pretty]] -k -u'admin:adminpass'</code> | ||
+ | * <code>[[curl http://localhost:9200/_cluster/health?pretty]] -k -u'[[admin:admin]]'</code> | ||
* <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=yellow"]] -u'XXX:UUU'</code> | * <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=yellow"]] -u'XXX:UUU'</code> | ||
* <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=red"]] -u'XXX:UUU'</code> | * <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=red"]] -u'XXX:UUU'</code> | ||
Line 22: | Line 23: | ||
[[systemctl restart]] [[elasticsearch]] && [[systemctl status elasticsearch]] && tail -f [[/var/log/elasticsearch/elasticsearch.log]] | [[systemctl restart]] [[elasticsearch]] && [[systemctl status elasticsearch]] && tail -f [[/var/log/elasticsearch/elasticsearch.log]] | ||
[[Elasticsearch logs]] | [[Elasticsearch logs]] | ||
+ | [[gateway.auto_import_dangling_indices]] | ||
== See also == | == See also == |
Latest revision as of 17:13, 12 December 2023
curl http://localhost:9200/_cluster/health?pretty -k -u'admin:adminpass'
curl http://localhost:9200/_cluster/health?pretty -k -u'admin:admin'
curl -k "https://localhost:9200/_cat/indices?v&health=yellow" -u'XXX:UUU'
curl -k "https://localhost:9200/_cat/indices?v&health=red" -u'XXX:UUU'
Elasticsearch storage[edit]
Messages[edit]
Java.io.IOException: failed to obtain in-memory shard lock
Low disk watermark
high disk watermark
Cluster health status changed from [YELLOW] to [GREEN]
No search context found for id
No space left on device
Related[edit]
/_cluster/settings GET /_cluster/allocation/explain green, yellow, red WARN, INFO, DEBUG elasticsearch.yml uuid systemctl restart elasticsearch && systemctl status elasticsearch && tail -f /var/log/elasticsearch/elasticsearch.log Elasticsearch logs gateway.auto_import_dangling_indices
See also[edit]
Advertising: