All Products
Search
Document Center

Simple Log Service:Configure a dial

Last Updated:Mar 25, 2026

A dial displays a metric on a circular or semi-circular scale, similar to a physical gauge.

Prerequisites

Overview

image

  1. Query and analyze data: You can query and analyze logs in the console. This includes log searches, aggregations, and statistical analysis.

  2. Configure the dial: Configure a gauge chart, set its style to a dial, and add it to your dashboard.

Step 1: Query and analyze data

  1. Log on to the Simple Log Service console. In the Projects section, click the project you want.

    image

  2. In the left-side navigation pane, click Log Storage. On the Logstores tab, click the target Logstore.

    image

  3. Enter the following query statement to count the number of logs, and click Search & Analyze.

    * | select COUNT(*) pv

Step 2: Configure the dial

1. Add a new chart

In the left-side navigation pane, choose Dashboard > Dashboards. On the Dashboards page, click the target dashboard. In the upper-right corner, click Edit. In edit mode, click Add > Add New Chart.

image

2. Configure the dial

  1. On the right side of the page, on the General Configurations tab, select the gauge chart icon image from Chart Types and select dial from Style Settings. On the left side of the page, configure the time range, Logstore, and query statement.

    image

  2. On the General Configurations tab, configure the parameters in the Search & Analysis Settings section.

    • General Configurations > Search & Analysis Settings > Displayed Fields: Select the pv field to display its value on the dial.

    • General Configurations > Search & Analysis Settings > Use Query Result: Displays the data from the query results on the dial.

    • General Configurations > Search & Analysis Settings > Field of Maximum Value: Select the pv field. The maximum value of this field sets the upper limit of the dial's scale.

    • General Configurations > Search & Analysis Settings > comparison field: Select the pv field. The value of this field is displayed as the current reading on the dial.

    • General Configurations > Search & Analysis Settings > comparison value format: Formats the value displayed on the dial. For example, you can use a comma as a thousands separator to format 5930 as 5,930.

    image

3. Configure thresholds

  • General Configurations > Standard Configurations > Color Scheme: Makes the dial change color based on the configured thresholds.

  • General Configurations > threshold > Threshold Mode: Select Absolute Value to set thresholds based on specific numeric values.

  • General Configurations > threshold: Set the thresholds and their corresponding colors. For example, you can set the dial's default color to light green and have it change as the pv value exceeds specific thresholds: green for >1000, orange for >2000, tangerine for >3000, red for >4000, and purple for >5000.

imageimage