All Products
Search
Document Center

Simple Log Service:Add a chart (Pro) to a dashboard

Last Updated:Aug 29, 2023

Simple Log Service allows you to save query and analysis results as charts to a dashboard. This topic describes how to add a chart (Pro) to a dashboard.

Prerequisites

Limits

You can add a maximum of 200 charts to a dashboard.

Entry point

You can add a chart on a Logstore page or a dashboard page. The configuration items remain unchanged regardless of the entry point that you use. In the following procedure, a chart is added on a dashboard page.

  • Logstore page

    If you want to add a chart on a Logstore page, you must execute a query statement, select a chart, and then save the chart to a dashboard. For more information about how to access a Logstore page, see Query and analyze logs.

    Logstore page
  • Dashboard page

    If you want to add a chart on a dashboard page, you must select a dashboard, select a chart, and then execute a query statement. For more information about how to access a dashboard page, see Create a dashboard. Charts (Pro)

Procedure

You can add multiple charts to a dashboard. You can add a chart to the dashboard at a time.

  1. Log on to the Log Service console.

  2. Go to the page on which you can create a chart.

    1. In the Projects section, click the project that you want to manage.

    2. In the left-side navigation pane, click Dashboard.

    3. In the Dashboard list, click the dashboard that you want to manage.

    4. In the upper-right corner of the dashboard page, click Edit.

    5. In edit mode, choose Create Chart > Line Chart (Pro).

  3. Add query statements.

    You can add multiple query statements. For more information, see Query and analysis.

  4. Optional:Configure data conversion rules.

    Before you use charts to display the results of query statements, you can configure data conversion rules to process the results. For example, you can configure a rule to merge the results of multiple query statements or classify the results of a query statement. For more information, see Data conversion.

  5. Select the chart (Pro) type.

  6. Optional:Configure chart attributes.

    Simple Log Service automatically configures chart attributes based on the results of your query statements. If the default settings meet your requirements for visualization, you do not need to configure chart attributes.

    1. Configure settings on the Common Settings tab.

      You can configure global settings for the chart on the Common Settings tab. For more information, see Common Settings tab.

    2. Configure settings on the Fields tab.

      You can configure custom display settings for the result of a single query statement or for a single column. For more information, see Fields tab.

  7. Optional:Configure an interaction occurrence.

    You can configure an interaction occurrence for the results of a single query statement or for a single column of data in the results to analyze data from a finer-grained dimension. For more information, see Drill-down events.

  8. On the Edit Chart page, click OK.

  9. On the dashboard page, click Save.