OpenSearch is an open-source search and analytics suite that originated as a fork of Elasticsearch and Kibana. It supports real-time data ingestion, advanced querying, and robust security, making it ideal for e-commerce, IT monitoring, and finance applications. With features like SQL query support, machine learning, and alerting, OpenSearch continuously evolves through active community development.
In this tutorial, you’ll learn the basics of creating a dashboard using the Dashboard application and OpenSearch sample data. The sample dataset includes existing visualizations, which you can use or modify to create new ones. By the end of this tutorial, you’ll have mastered the foundations of creating a new dashboard with multiple panels in OpenSearch Dashboards.
Before you begin, ensure you have:
The Dashboard application in OpenSearch Dashboards allows you to represent analytical, operational, and strategic data visually, providing a quick understanding of trends and key metrics, simplifying data exploration, and delivering timely insights.
Here are three use cases for dashboards in OpenSearch:
To create a managed Open search database, go to the database section of the control panel, and click “Create Database”.
Choose a “data center/region”.
Select the desired VPC network from the region (if you have multiple VPCs created).
Choose “OpenSearch” as the Database engine.
Now, Choose the configuration for the database.
Note: You can change the configuration and upscale any time after the cluster creation; however, downscaling is currently not supported.
Click to OpenSearch Dashboard from the DigitalOcean cloud control panel
Login to the dashboard with the credentials provided in the cloud panel.
Once you log into OpenSearch, go to OpenSearch “Dashboards > Dashboard” on the top menu.
From the Dashboards panel, choose “Create Dashboard”.
Click the calendar icon and set the time filter to Last X days.
In the panel, choose “Add an existing”.
In the Add panels window, select Line Avg Bytes over time, then close the panel.
You’ve successfully created a basic dashboard with a single panel, which will be used throughout the rest of this tutorial.
The gauge chart visualization is now saved, and you will be redirected back to the dashboard. You should see two visualizations displayed on the dashboard.
Note: To visualize and explore data in OpenSearch Dashboards, you can create an index pattern to retrieve data from OpenSearch. You have four different options: Index patterns, Data sources, Saved objects, and Advanced settings. OpenSearch Dashboards requires an index pattern to identify which indices you want to explore. An index pattern can point to a specific index, such as your log data from yesterday or all indices containing your log data.
Congratulations! You’ve learned how to create and visualize dashboards in a DigitalOcean Managed OpenSearch database. We’ve covered setting up a new dashboard, using sample data, and adding visualizations. With these skills, you can now effectively monitor and analyze your key metrics.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!