This topic describes how to configure a dashboard in display mode. By default, a dashboard shows all charts in display mode. You can perform multiple operations on a dashboard in display mode.

Specify a time range to query a dashboard

By default, the time range applies to all charts on a dashboard. After a time range is specified, all charts on the dashboard display the query and analysis results of the same time range. For information about how to configure a time range for a single chart, see Configure charts.

  1. Log on to the Log Service console.
  2. In the Projects section, click the project in which you want to query and analyze logs.
  3. In the left navigation sidebar, click the Dashboard icon icon.
  4. In the Dashboard pane, click the dashboard that you want to manage.
  5. Click Time Range. In the Time panel, specify a time range.
    You can use one of the following methods to specify a time range:
    Note The time range that you specify for a dashboard in display mode is for temporary use only. The system does not save the setting. The next time you open the dashboard, the system displays the log data that is generated in the default time range.
    • Relative: queries log data generated in a time range that ends with the current time, such as the previous 1, 5, or 15 minutes. The current time is accurate to the second. For example, if the current time is 19:20:31 and 1 Hour is selected as the relative time, the charts on the dashboard display the log data that is generated from 18:20:31 to 19:20:31.
    • Time Frame: queries log data generated in a time range that ends with the current time, such as the previous 1 or 15 minutes. The current time is accurate to the minute, hour, or day. For example, if the current time is 19:20:31 and 1 Hour is selected as the time frame, the charts on the dashboard display the log data that is generated from 18:00:00 to 19:00:00.
    • Custom: queries log data that is generated in a custom time range.

    After you specify the time range, you can move the pointer over the time that is displayed to view the time range

Enter the edit mode

In the Dashboard pane, click the dashboard that you want to edit. On the page that appears, click Edit to enter the edit mode. In edit mode, you can perform multiple operations on the dashboard and the charts on the dashboard. For more information, see Manage a dashboard in edit mode.

Configure alert rules

Log Service provides an earlier version and a new version of the alerting feature.

  • Earlier version: In the upper-right corner of the dashboard page, click Alerts and select CreateOld VersionAlert. In the Create Alert panel, configure an alert rule for charts. For more information, see Configure an alert rule.
  • New version: In the upper-right corner of the dashboard page, click Alerts and select CreateNew VersionAlert. In the Alert Rule panel, configure an alert rule for charts. For more information, see Configure an alert in Log Service.

Configure a refresh method

You can manually refresh a dashboard or specify a time range at which the dashboard is automatically refreshed.
  • Manually: In the upper-right corner of the dashboard page, click Refresh and select Once.
  • Automatically: In the upper-right corner of the dashboard page, click Refresh and select Auto Refresh. Then, click a time range.

    The auto-refresh time range can be 15 seconds, 60 seconds, 5 minutes, or 15 minutes.

    Note If your browser is inactive, the dashboard may not be refreshed at the specified time range.

Share a dashboard

To share a dashboard with authorized users, click Share in the upper-right corner of the dashboard page. The link of the dashboard page is copied to the clipboard. Then, you can paste the link and share it with the users. The shared dashboard page uses the settings of the dashboard at the point in time when you share the dashboard. The settings include the time range of charts and the format of chart titles.

Note Before you share a dashboard with other users, you must grant the read permissions to the users.

Display a dashboard in full screen

In the upper-right corner of the dashboard page, click Full Screen. Then, the dashboard enters the full-screen mode. This mode is suitable for presentation and reporting scenarios.

Reset the time range

In the upper-right corner of the dashboard page, click Reset Time to restore the saved time range of all charts on the dashboard. You can use this feature to restore time settings.

Configure charts

You can select a chart and perform the following operations on the chart.

Note Different types of charts on a dashboard present different details. However, you cannot view the details of non-statistical charts, such as a custom chart.
Dashboard
  • View analysis details

    Find the chart whose details you want to view, move the pointer over the More icon icon in the chart, and then select View Analysis Details. On the page that appears, you can view the query statement and properties of the chart.

  • Specify a time range for a chart

    Find the chart that you want to manage, move the pointer over the More icon icon in the chart, and then select Select Time Range. Then, you can specify a time range for the chart.

  • Configure an alert rule for a chart
    • Earlier version of the alerting feature: Find the chart for which you want to configure an alert rule, move the pointer over the More icon icon in the chart, and then select Save as Alert (Old Version). Then, you can create an alert rule and alert notifications for the chart. For more information, see Configure an alert rule.
    • New version of the alerting feature: Find the chart that you want to manage, move the pointer over the More icon icon in the chart, and then select Save as Alert (New Version). Then, you can create an alert rule and alert notifications for the chart. For more information, see Configure an alert in Log Service.
  • Download chart data

    Find the chart whose data you want to download, move the pointer over the More icon icon in the chart, and then select Download Chart Data. The data generated in the current time range is downloaded in the CSV format.

  • Download a chart

    Find the chart that you want to download, move the pointer over the More icon icon in the chart, and then select Download Chart. The downloaded chart is in the PNG format.

  • Check whether a drill-down event is configured for a chart

    Find the chart that you want to manage and move the pointer over the More icon icon in the chart. Check the color of the hand icon at the bottom of the shortcut menu. If the icon is red, a drill-down event is configured for the chart. If the icon is gray, no drill-down events are configured for the chart.

  • Preview the query statement of a chart

    Find the chart whose query statement you want to preview, move the pointer over the More icon icon in the chart, and then click the Preview icon. Then, you can view the query statement that is used.