All Products
Search
Document Center

Simple Log Service:Add a chart to a dashboard

Last Updated:Aug 11, 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 (Standard) to a dashboard.

Prerequisites

Limits

You can add up to 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. This topic describes how to add a chart to a dashboard on the Logstore 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 Procedure.

    Add a chart
  • 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.

    Add a chart

Procedure

You can add only one chart to a dashboard at a time.

  1. Log on to the Log Service console.
  2. In the Projects section, click the project that you want to manage.
  3. Query and analyze logs.

    1. On the Log Storage > Logstores tab, click the Logstore that you want to manage.
    2. Enter a query statement in the search box, specify a time range, and then click Search & Analyze.

      A query statement consists of a search statement and an analytic statement in the Search statement|Analytic statement format. For more information, see Search syntax and SQL syntax and functions.

  4. On the Common Settings tab of the Graph tab, specify a chart type and configure the chart attributes.

    Different types of charts have different attributes. For more information, see Chart overview.

  5. Optional:Configure a drill-down event.

    For more information, see Interaction occurrences.

  6. Click Add to New Dashboard.

  7. In the Add to New Dashboard dialog box, configure the following parameters and click OK.

    Parameter

    Description

    Operation

    Valid values:

    • Add to Existing Dashboard: adds the chart to an existing dashboard.

    • Create Dashboard: creates a dashboard and adds the chart to the dashboard.

    Dashboards

    Select an existing dashboard.

    If you set Operation to Add to Existing Dashboard, you must configure this parameter.

    Layout Mode

    Select a layout mode for the new dashboard. For more information, see Chart layouts.

    If you set Operation to Create Dashboard, you must configure this parameter.

    Dashboard Name

    Enter a name for the new dashboard.

    If you set Operation to Create Dashboard, you must configure this parameter.