User Tools

Site Tools


wiki:elasticsearch_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:elasticsearch_troubleshooting [2023/02/28 13:57] – [Unable to write to elasticsearch] add curl delete index cmd antisawiki:elasticsearch_troubleshooting [2024/07/23 11:28] (current) – add opensearch curl error antisa
Line 1: Line 1:
-{{tag>troubleshooting elasticsearch graylog}}+{{tag>troubleshooting elasticsearch opensearch graylog}}
  
-====== Elasticsearch troubleshooting ======+====== Elasticsearch/Opensearch troubleshooting ======
 If graylog stops showing message streams it could be an issue with indexes. If graylog stops showing message streams it could be an issue with indexes.
  
Line 119: Line 119:
  
  
-Free some disk space for example delete an old index+Free some disk space for example delete an old index (see howto for [[wiki:graylog_troubleshooting#elasticsearch_nodes_disk_usage_above_low_watermark|graylog index management]]) 
  
   curl -X DELETE -u undefined:$ESPASS "localhost:9200/my-index?pretty"   curl -X DELETE -u undefined:$ESPASS "localhost:9200/my-index?pretty"
Line 181: Line 181:
  
 and run delete command again. and run delete command again.
 +
 +===== curl (52) empty reply from server =====
 +Happened with OpenSearch docker compose installation trying this:
 +
 +  curl -u admin:Antekante_1 -XGET "http://localhost:9200/_cluster/health?pretty"
 +  
 +It needs the certificate file in the command but if you are testing, easiest is just to disable the ssl. Add the following line in ''docker-compose.yml''
 +<code>
 +  - plugins.security.ssl.http.enabled=false
 +</code> 
 +
 +and rerun
 +  docker-compose up -d
 +
 ===== Tested on ===== ===== Tested on =====
   * Debian 10   * Debian 10
wiki/elasticsearch_troubleshooting.1677592634.txt.gz · Last modified: 2023/02/28 13:57 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki