OpenSearch: Troubleshooting
Errors you can encounter with OpenSearch
👋 Welcome to the Stackhero documentation!
Stackhero provides a fully managed OpenSearch cloud environment designed for both performance and security:
- High performance and strong security on a private, dedicated infrastructure.
- Use your own custom domain name, protected with HTTPS by default.
- Built-in OpenSearch Dashboards for easy data exploration and visualization.
Cut out setup and maintenance hassles: you can be up and running with OpenSearch cloud hosting from Stackhero in just a few minutes.
Index patterns are not created and the error "Unable find saved objects" is displayed in Dashboards
This issue can appear in several ways:
- In OpenSearch Dashboards, navigate to
Management/Stack Managementand attempt to create anIndex Pattern. The creation may seem 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.