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.

This issue can appear in several ways:

  • In OpenSearch Dashboards, navigate to Management / Stack Management and attempt to create an Index 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 error Unable find saved objects.
  • In your instance logs, you observe messages such as search_phase_execution_exception and all 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.