Actions8
- Devices Actions
- Events Actions
- Groups Actions
- Series Actions
Series → Get
AI-generatedSummary
Retrieve time-series performance data for a specified device and attribute.
Inputs
- device (required) — Device name or IP address.
- attribute (required) — Attribute/counter name to retrieve.
- additionalFields.fromTime — Start time for data query.
- additionalFields.toTime — End time for data query.
- additionalFields.period — Time period for data aggregation.
Output shape
a list of time-series data records
Returns an array of time-series data corresponding to the specified device and attribute. Optional fields can modify the query range and aggregation period.
Examples
Example 1: Retrieve CPU usage for a server from 2023-01-01 to 2023-01-31 with 1-day aggregation.
Set device to '192.168.1.1', attribute to 'cpu_usage', fromTime to '2023-01-01', toTime to '2023-01-31', and period to '1d'.