Difference between revisions of "Elasticsearch troubleshooting"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions 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 8: Line 9:
 
* <code>[[Java.io.IOException: failed to obtain in-memory shard lock]]</code>
 
* <code>[[Java.io.IOException: failed to obtain in-memory shard lock]]</code>
 
* <code>[[Low disk watermark]]</code>
 
* <code>[[Low disk watermark]]</code>
 +
* <code>[[high disk watermark]]</code>
 
* <code>[[Cluster health status changed from]] [YELLOW] to [GREEN]</code>
 
* <code>[[Cluster health status changed from]] [YELLOW] to [GREEN]</code>
 
* <code>[[No search context found for id]]</code>
 
* <code>[[No search context found for id]]</code>
Line 21: 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 ==
 +
* {{WARN}}
 
* {{ES tr}}
 
* {{ES tr}}
 
* {{ES URLs}}
 
* {{ES URLs}}
  
 
[[Category:Elasticsearch]]
 
[[Category:Elasticsearch]]

Latest revision as of 17:13, 12 December 2023

Advertising: