Skip to content

Time Widget


The Time Widget allows you to control the data display range in the current Explorer. You can filter data by manually entering a time range, quickly selecting a preset time range, or customizing a time range.

Preset Time Ranges

The system provides a variety of preset quick time ranges. By clicking "More", you can choose additional time ranges for data viewing. Preset time ranges include:

Dynamic Time

Includes four units: minute, day, week, and month, such as today, yesterday, this week, last week, etc.

Static Time

Includes two formats:

  • Date
  • Timestamp

Date

The static date and time format supports multiple writing styles, with time precision up to seconds. The separator can be ~, -, or ,, and spaces are allowed before and after, but the comma must be an English comma. For example:

  • 2022/08/04 09:30:00~2022/08/04 10:00:00
  • 2022/08/04 09:30:00-2022/08/04 10:00:00
  • 2022/08/04 09:30:00,2022/08/04 10:00:00

Timestamp

The timestamp range supports millisecond-level input. The separator can be ~, -, or ,, and spaces are allowed before and after, but the comma must be an English comma. For example:

  • 1659576600000~1659578400000
  • 1659576600000-1659578400000
  • 1659576600000,1659578400000
Note
  • The input format must meet the requirements. For example, the start time cannot be later than the end time, and the time format must conform to the hour:minute:second standard.
  • The Time Widget's tooltip and input box are linked in real-time. When the entered time range exceeds four digits (including time interval, absolute time, and timestamp), the tooltip will display -.

Custom Time Range

In addition to the preset time ranges, you can click "Custom Time" to select a specific time range, including date and time.

Note
  • The start and end times of the custom time range must be entered in the hour:minute:second format, such as 15:01:09;
  • The start time cannot be later than the end time;
  • The query history of custom time ranges can be viewed in the Custom Time Query History, which supports up to the last 20 historical records. Click any historical record to quickly filter the corresponding data.

URL Time Range

In addition to selecting a time range through the Time Widget, you can also directly modify the time parameter in the browser's URL to query data. It supports four units: second (s), minute (m), hour (h), and day (d). For example:

  • time=30s
  • time=20m
  • time=6h
  • time=2d

After modifying time=2h in the browser, the Explorer will display data from the last 2 hours.

Note
  • Each unit can only be used independently and cannot be combined;
  • When the selected time range is greater than or equal to 1 day, the Explorer will automatically stop the playback mode.

Lock Time Range

By clicking in the Time Widget, you can set a fixed query time range. Once set, all Explorers and dashboards will display the current time range by default.

For example, if the locked time is "Last 2 hours", all Explorers and dashboards will display data according to this time range.

Time Zone

Set the current display time zone in the Time Widget to view data in the corresponding workspace time zone.

  1. Go to Time Widget > Time Zone Settings;
  2. In the Modify Time Zone window, "Browser Time" is displayed by default, which is the time detected by the local browser;
  3. Select a time zone;
  4. Confirm.
Note
  • Only the Owner and Administrator of the current workspace have the configuration permission for the Workspace Time Zone;
  • If the workspace owner or administrator has set the "Workspace Time Zone", members can choose the configured workspace time zone;
  • After setting a new time zone, all workspaces where your account is located will display according to the set time zone. Please proceed with caution.

Workspace Time Zone

To ensure that workspace members can analyze data and troubleshoot issues under a unified time zone, you can configure a unified time zone for the workspace.

  1. Click Manage > User Settings > Time Zone;
  2. Enter the modification pop-up;
  3. Select a time zone;
  4. Confirm.

After configuration, other members of the workspace can choose the configured workspace time zone, and their time zone status will follow the configured time zone.

Note
  • Only the Owner and Administrator of the current workspace have the configuration permission for the workspace time zone;
  • After setting the workspace time zone, it will not automatically change the members' time zone. Members need to manually select the workspace time zone;
  • If the workspace time zone is deleted, members who have selected this time zone will automatically switch back to browser time.

Auto Refresh

"Auto Refresh" allows you to quickly obtain real-time data. Supported refresh frequencies include: 5 seconds, 10 seconds, 30 seconds, 1 minute, 5 minutes, 30 minutes, and 1 hour.

If auto refresh is not needed, select Off.

Time Widget VS Refresh Frequency
  • "Refresh Frequency" does not affect the changes in the "Time Widget";
  • If the selected time range exceeds 1 hour or is an absolute time, the refresh frequency may be affected;
  • If you re-select a relative time range of less than 1 hour, the refresh frequency will automatically revert to the last configuration.
  • When selecting "Relative Time", even if the refresh frequency is "off", modifying query conditions (such as adding or removing filter conditions in the Explorer, adjusting search box filter conditions, or switching view variables in dashboards/notes) will still trigger a re-query.
Note

All Explorers share one refresh configuration. Changing the refresh frequency will affect all Explorers.

Quick Zoom

In actual data query scenarios, you may often need to adjust the time range (timerange) to observe the overall trend of data or locate specific anomalies. Click "Quick Zoom", and the system will expand the time range by 3 times based on the center of the current time range, reducing the steps of manually adjusting the time range.

Zoom Logic

Click "Quick Zoom", and the timerange expands to 3 times the original.

  • First, push 1 times the timerange backward from the current end time, with the latest being the current time, to get EndTime;

  • Then, push 3 times the timerange forward from EndTime, as StartTime;

  • When querying relative time, directly expand it by 3 times.

Application Example:

Assume the current Explorer query time is 11:00:

  • Scenario 1: Need to query 10:20-10:30, timerange = 10m, after clicking "Quick Zoom", the system queries 10:10-10:40

  • Scenario 2: Need to query 10:30-10:50, timerange = 20m, after clicking "Quick Zoom", the system queries 10:00-11:00

  • Scenario 3: Query "Last 30 minutes", after clicking "Quick Zoom", the system queries "Last 90 minutes"