Skip to main content

Dashboards

Create Panel Demo 📈

  • Demonstration for creating a dashboard panel: Video 👀

Create Panel for Spunk QL Query

  1. Add and Edit Panel:

    • Click on the 'Add Panel' option and then click on edit.

      Edit Panel

  2. Select Data Source:

    • Example: Logs

      Data Source

  3. Choose Query Language:

    • Example: Splunk QL

      Query Language

  4. Enter Spunk QL Query:

    city=Boston | stats count, avg(latency) BY weekday

    SPL1 Query

  5. Fill in Splunk QL Panel Options:

    SPL Panel

  6. Run Query:

    SPL Bar

  7. Similarly you can add more Splunk QL Queries:

    city=Boston | This is a comment fields http*

    SPL2 Query

  8. Panel View:

    SPL preview

Create Panel for SQL Query

Follow the same steps as for Splunk QL and change the query language to SQL. Modify the panel details as needed.

  1. Enter SQL Query:

    SELECT COUNT(weekday) FROM `*` GROUP BY weekday

    SQL1 Query

  2. Similarly you can add more SQL Queries:

    SELECT * FROM `ind-0` ORDER BY latency ASC

    SQL2 Query

Create Panel for LogQL Query

Follow the same steps as for SPL and change the query language to LogQL. Modify the panel details as needed.

  1. Enter LogQL Query:

    {gender="female",city="Fresno"} != "batch-212"

    LogQL1 Query

  2. Additional LogQL Query:

    {gender="female"} | json

    LogQL2 Query

Create Panel for Metrics Query

Note: You need to ingest metrics data to get the metrics.

  1. Enter Metrics Query:

    max by (color) (testmetric0)

    Metrics1 Query

  2. Additional Metrics Query:

    min by (model) (testmetric0)

    Metrics2 Query

  3. Panel Overview

    Panel Overview

Create Panel for Traces

Note: You need to ingest traces data to get the traces.

  1. Enter Traces Query:

    service="loadgenerator"

    Traces Query

Adding Panel to Dashboard

Demonstration for adding a panel Video👀

  1. Add Panel to Dashboard:

    • Enter a query in the search bar and select the option next to the downloads option to add the panel to the dashboard.

      Add Panel

      Display Panel

  2. Panel Options:

    • You can view, edit, duplicate, and remove the panel.

      View Add Panel

      View Panel