wiki:elasticsearch_troubleshooting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:elasticsearch_troubleshooting [2022/10/10 11:37] – [See also] add Kibana troubleshooting antisa | wiki:elasticsearch_troubleshooting [2024/07/23 11:28] (current) – add opensearch curl error antisa | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag> |
| - | ====== Elasticsearch troubleshooting ====== | + | ====== Elasticsearch/ |
| 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 and run this: | + | Free some disk space for example delete an old index (see howto for [[wiki: |
| + | |||
| + | curl -X DELETE -u undefined: | ||
| + | |||
| + | and run this: | ||
| curl -XPUT -H " | curl -XPUT -H " | ||
| Line 136: | Line 140: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | ===== snapshot missing exception ===== | ||
| + | If you get an error like: | ||
| + | |||
| + | " | ||
| + | |||
| + | Delete the snapshot repo | ||
| + | |||
| + | curl -X DELETE -u undefined: | ||
| + | |||
| + | and try listing again. | ||
| + | |||
| + | ===== index ... is the write index for the datastream ===== | ||
| + | When trying to delete the index like | ||
| + | |||
| + | curl -XDELETE ' | ||
| + | |||
| + | you get | ||
| + | |||
| + | < | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | |||
| + | you need to rollover to the new index, e.g. | ||
| + | |||
| + | curl -s -X POST " | ||
| + | |||
| + | and run delete command again. | ||
| + | |||
| + | ===== curl (52) empty reply from server ===== | ||
| + | Happened with OpenSearch docker compose installation trying this: | ||
| + | |||
| + | curl -u admin: | ||
| + | | ||
| + | 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 '' | ||
| + | < | ||
| + | - plugins.security.ssl.http.enabled=false | ||
| + | </ | ||
| + | |||
| + | and rerun | ||
| + | docker-compose up -d | ||
| ===== Tested on ===== | ===== Tested on ===== | ||
| Line 150: | Line 208: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
wiki/elasticsearch_troubleshooting.1665401846.txt.gz · Last modified: by antisa
