AWS Data Stream Parameters
The AWS plugin provides configurable data streams to fetch cost data and service metrics.
Each configurable data stream exposes a set of parameters that lets you filter the data you retrieve. The following information describes the available configurable data streams and their parameters in detail.
Account Cost (Configurable)
Example
Cost (Global - Configurable).
CloudWatch Logs
CloudWatch Metrics by Query
CloudWatch Metrics by Resource
DynamoDB Metric
S3 Metric
Timestream Query
Examples
Retrieve CPU utilization over the past hour
SELECT time, measure_value::double AS cpu_utilization
FROM "MetricsDB"."SystemMetrics"
WHERE measure_name = 'cpu_utilization'
AND time > ago(1h)
ORDER BY time DESCAggregate average temperature by device for the last 24 hours
SELECT device_id,
AVG(measure_value::double) AS avg_temperature
FROM "IoTDB"."SensorReadings"
WHERE measure_name = 'temperature'
AND time BETWEEN ago(24h) AND now()
GROUP BY device_id