OpenSearch: Troubleshooting

Errors you can encounter with OpenSearch

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use OpenSearch cloud solution that provides a host of benefits, including:

  • Optimal performance and robust security powered by a private and dedicated VM.
  • Customizable domain name secured with HTTPS encryption support.
  • Integrated OpenSearch Dashboards for seamless data visualization.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's OpenSearch cloud hosting solution!

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.