OpenSearch: Troubleshooting
Errors you may encounter with OpenSearch
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use OpenSearch cloud solution that provides numerous benefits, including:
- Optimal performance and robust security powered by a private and dedicated VM.
- Customisable domain name secured with HTTPS encryption support.
- Integrated OpenSearch Dashboards for seamless data visualisation.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's OpenSearch cloud hosting solution!
Index patterns are not created and the error "Unable find saved objects" is displayed in Dashboards
This issue can manifest in several ways:
- In OpenSearch Dashboards, navigate to
Management/Stack Managementand attempt to create anIndex Pattern. The creation may appear to work. However, when you return to the page, no index pattern is displayed. - In OpenSearch Dashboards, when you visit
Saved Objects, you encounter the errorUnable find saved objects. - In your instance logs, you observe messages such as
search_phase_execution_exceptionandall shards failed.
These problems are known within OpenSearch and typically occur after you have deleted all your indices using DELETE /_all or removed some Kibana indices.
To resolve the issue, you can simply restart your OpenSearch service. Restarting the service allows OpenSearch Dashboards to recreate missing aliases, and you should be able to see the index patterns you created previously.