fastly stats historical

View historical stats for a Fastly service

Options

NameDescription
--service-id <service-id>Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml)
--service-name <service-name>The name of the service
--from <from>From time, accepted formats at https://fastly.dev/reference/api/metrics-stats/historical-stats
--to <to>To time
--by <by>Aggregation period (minute/hour/day)
--region <region>Filter by region ('stats regions' to list)
--format <format>Output format (json)