Add a logs chart

You can add metrics-based charts to a Splunk Observabiltiy Cloud dashboard.

To add a logs-based chart to a dashboard, follow these steps:
  1. Log in to Splunk Observability Cloud and navigate to Dashboards.

  2. Select Create dashboard in the upper-right corner.

  3. Select Add, and then select Logs, then Create.

  4. Set a time range.

  5. If you do not want to use the default connection, select a connection.
  6. Select Indexes, then select the index or indexes you want to query to form your log-based chart.

    Note: In the center of the module, you can view the events in the index you selected.
  7. In the Data scope section, select SPL1 editor, SPL2 editor, or JSON editor, depending on how you want to query your Splunk platform logs.

  8. Enter your SPL1, SPL2, or JSON query, and then select Run Search.

  9. To include or exclude selected fields, select Field Summary.
  10. Select the visualization type that best represents your data.

  11. Give your chart a title and description.

  12. Select Save.