This topic describes how to create and delete a dashboard.


  • Logs are collected.
  • Indexes are enabled and set.

Create a dashboard

  1. Log on to the Log Service console and click the project name.
  2. On the Logstores page, click Search in the LogSearch column.
  3. In the search box, enter a query and analysis statement, and click Search & Analysis.
  4. Click Properties to set the chart properties.

  5. Optional. Specify a placeholder variable.
    If you specify a placeholder variable for the query statement, and a drill-down event hat results in a jump to the current dashboard is triggered by any other chart, the system performs the following:
    1. It replaces the placeholder variable of the query statement with the chart value that triggered the drill-down event.
    2. It refreshes the current dashboard and updates with the new query statement.
    For more information, see Set a drill-down analysis.

    To specify a placeholder variable, follow these steps:

    1. Click the Data Source tab, and select part of the query statement.
    2. Click Generate Variable.
    3. Set Variable Config.
      Configuration Description
      Variable Name Placeholder variable name. If the placeholder variable name is the same as the variable specified in the chart that triggered the drill-down event, the placeholder variable will be replaced with the chart value.
      Default Value Default value of the placeholder variable in the current dashboard.
      Result Query statement that has the specified variable.

  6. Optional. Set a drill-down analysis.
    To set a drill-down analysis, follow these steps:
    1. Click the Interactive Behavior tab.
    2. Select an Event Action.
    3. Set parameters related to the selected event action.

  7. Click Add to New Dashboard.
  8. Set the dashboard and chart names.
    Configuration Description

    Available actions are:

    • Add to Existing Dashboard: add the chart to an existing dashboard.
    • Create Dashboard: create a new dashboard and then add the chart to the new dashboard.
    Dashboards Select an existing dashboard name.
    Note This parameter is required only when you set the Operation parameter as Add to Existing Dashboard.
    Dashboard Name Enter a dashboard name.
    Note This parameter is required only when you set the Operation parameter as Create Dashboard.
    Chart Name Enter a chart name. The chart name is displayed as the chart title in the dashboard.
  9. Click OK.

    You can add up to fifty analysis charts to a dashboard.

The following figure shows a dashboard that contains multiple analysis charts.

Delete a dashboard

Note A deleted dashboard cannot be recovered.
  1. In the left-side navigation pane of the Logstores page, click Dashboard.
  2. Click Delete on the right of the target dashboard.
  3. In the displayed dialog box, click Confirm.