Link Search Menu Expand Document Documentation Menu

OpenSearch Dashboards quickstart guide

This quickstart guide provides demonstrations to help you quickly explore essential OpenSearch Dashboards applications. You can use this guide either in your own environment or on the OpenSearch Playground to explore the following features:

  • Adding sample data: Use preloaded visualizations and dashboards to explore OpenSearch Dashboards before adding your own data.
  • Using the Discover application: Run one-time data queries to gain insights.
  • Using the Dashboards application: Create a collection of data visualizations.
  • Customizing the appearance theme: Quickly change the OpenSearch Dashboards appearance theme on the home page.

Prerequisites

To follow this guide, you need access to one of the following OpenSearch installations:

Accessing OpenSearch Dashboards

Once the OpenSearch and OpenSearch Dashboards processes are running, view the OpenSearch Dashboards application by opening your browser and going to the dashboard URL:

  • https://playground.opensearch.org/app/home#/ for the OpenSearch Playground.

  • http://localhost:5601/app/home#/ (without the Security plugin) or https://localhost:5601/app/home#/ (with the Security plugin) for a local installation.

The OpenSearch Dashboards default view is shown in the following image.

OpenSearch Dashboards interface default view

The demonstrations on this page use the Sample flight data dataset. If you’ve installed a local OpenSearch Dashboards instance, access OpenSearch Dashboards and add the sample data as described in Adding sample data.

Hiding the navigation menu

To enlarge the main page panel, you can undock and hide the navigation menu.

Undocking and hiding the navigation menu

To undock and hide the navigation menu:

  1. Select docked icon (dock) Undock navigation at the bottom of the navigation menu.

  2. Select the menu icon (menu) icon or x to the right of the menu.

Unhiding and docking the navigation menu

To unhide and dock the left navigation:

  1. Select the menu icon (menu) icon.

  2. Select undocked icon (undock) Dock navigation at the bottom of the left navigation.

Adding sample data

If you’ve installed a local OpenSearch Dashboards instance, add one or more sample datasets:

  1. On the OpenSearch Dashboards home page, choose Add sample data. Alternatively, choose Add data from the upper-right toolbar.

  2. On the Add sample data page, select the Add data button in the Sample flight data tile and any others that you want to add.

    The following image shows the available sample datasets.

    Adding sample data window

Using the Discover tool

With Discover, you can:

  • Choose data for analysis, set a time range for that data, search the data using Dashboards Query Language (DQL), and filter the results.
  • Analyze your data: query and filter data, view results in a table, and examine documents.
  • Create histograms to display the distribution of your data.

Follow these steps to use the Discover tool:

  1. From the left navigation, choose OpenSearch Dashboards > Discover.

  2. On the Discover page, choose the index pattern opensearch_dashboards_sample_data_flights from the dropdown menu on the upper left.

  3. Select the calendar icon (calendar) icon to change the time filter from the default of Last 15 minutes to Last 7 days.

  4. In the DQL search bar, enter

     FlightDelay:true AND DestCountry: US AND FlightDelayMin >= 60
    

  5. Select Update.

    Results are shown for US-bound flights delayed by 60 minutes or more.

  6. Filter data by selecting Add filter from the DQL search bar and then selecting a Field, Operator, and Value from the dropdown lists in the Edit Filter pop-up window. For example, select FlightDelayType, is, and Weather Delay.

    The resulting view is shown in the following image.

    Discover output of steps 1 through 6

Using the Dashboards application

With Dashboards, you can:

  • Display multiple data visualizations in a single view.
  • Build dynamic dashboards.
  • Create and share reports.
  • Embed analytics to differentiate your applications.

The Dashboards application creates and stores visualizations generated from your data. Follow these steps to use the application:

  1. From the left navigation, select OpenSearch Dashboards > Dashboards. The panel displays a list of existing dashboards.
  2. In the search toolbar, search for and select [Flights] Global Flight Dashboard.

    The panel displays a dashboard preloaded with visualizations, including charts, maps, and data tables.

  3. To add other panels to the dashboard, select the Edit button and choose Add from the toolbar.

  4. In the search toolbar in the Add panels window, enter flights.

  5. From the narrowed list, select [Flights] Delay Buckets.

  6. Select x to exit the confirmation dialog.

  7. Select x to exit the Add panels window.

  8. Scroll down to confirm that the newly added panel is now displayed as the last panel on the dashboard.

    The resulting view is shown in the following image.

    Add panel view

For information about visualization types, see Building data visualizations. For information about using dashboards and visualizations in Observability, see Observability.

Interacting with data using Dashboards

In Dashboards, you can interact with visualizations to filter and analyze data.

Using the [Flights] Global Flight Dashboard dashboard, follow these steps to further filter and analyze the sample flight data:

  1. On the [Flights] Airline Carrier panel, choose OpenSearch-Air.

    The dashboard updates automatically, adding the filter Carrier: OpenSearch-Air to the upper-left filter bar, as shown in the following image.

    Filter data demo

  2. Choose Save to save the dashboard.

Alternatively, you can use the dashboard toolbar to apply filters:

  1. Select x in the Carrier: OpenSearch-Air filter in the filter bar to remove the filter.

  2. In the dashboard toolbar, choose Add filter.

  3. From the Field, Operator, and Value dropdown lists, choose Carrier, is, and OpenSearch-Air, respectively.

  4. Choose Save.

    The dashboard updates automatically.

    The resulting view is shown in the following image.

    Dashboards tutorial panel view

Next steps