Difference between revisions of "Elasticsearch troubleshooting"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users 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 -k https://localhost:9200/_cat/indices?v&health=yellow]] -u'XXX:UUU'</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=red"]] -u'XXX:UUU'</code>
 +
 
 +
== [[Elasticsearch storage]] ==
  
 
== Messages ==
 
== Messages ==
 
* <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>
 +
* <code>[[No space left on device]]</code>
  
 
== Related ==
 
== Related ==
 
  [[/_cluster/settings]]
 
  [[/_cluster/settings]]
 
  [[GET /_cluster/allocation/explain]]
 
  [[GET /_cluster/allocation/explain]]
  [[yellow]]
+
  [[green]], [[yellow]], [[red]]
 
  [[WARN]], [[INFO]], [[DEBUG]]
 
  [[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 ==
 
== See also ==
 +
* {{WARN}}
 
* {{ES tr}}
 
* {{ES tr}}
 +
* {{ES URLs}}
  
 
[[Category:Elasticsearch]]
 
[[Category:Elasticsearch]]

Latest revision as of 17:13, 12 December 2023

Advertising: