All Products
Search
Document Center

Simple Log Service:Add a chart to a dashboard

Last Updated:May 06, 2024

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 a Logstore page.

  • Logstore page

    To add a chart on a Logstore page, you must execute a query statement, select a chart type, and then save the chart to a dashboard. For more information about how to open a Logstore page, see Procedure.

    添加统计图表

  • Dashboard page

    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 open a dashboard page, see Create a dashboard.

    添加统计图表

Procedure

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

  1. Log on to the Simple Log Service console.

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

    image

  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 and click Last 15 Minutes to specify a query time range.

      For more information, see Step 1: Enter a query statement.

  4. On the General Configurations tab of the Graph tab, select a chart type and configure the chart attributes.

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

  5. Optional. Configure an interaction occurrence.

    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.