fastly ngwaf workspace time-series get

Get workspace-level time series metrics.

Syntax

$ fastly ngwaf workspace time-series get --from=FROM --metrics=METRICS

Options

KeyRequired?DefaultDescription
--fromYesThe start of a date-time range, expressed in RFC 3339 format
--metricsYesComma-separated list of metrics to be included in the timeseries. Metrics can be XSS, SQLI, HTTP404, requests_total, requests_attack, requests_total_blocked, or any custom metric
--workspace-idNoAlphanumeric string identifying the NGWAF Workspace (falls back to FASTLY_WORKSPACE_ID)
--toNoThe end of a date-time range, expressed in RFC 3339 format
--granularityNoLevel of detail of the sample size in seconds (Default value is 86400)
--jsonNoRender output as JSON

Global options

KeyRequired?DefaultDescription
--helpNoShow context-sensitive help.
--accept-defaultsNoAccept default options for all interactive prompts apart from Yes/No confirmations
--auto-yesNoAnswer yes automatically to all Yes/No confirmations. This may suppress security warnings
--debug-modeNoPrint API request and response details (NOTE: can disrupt the normal CLI flow output formatting)
--non-interactiveNoDo not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes
--quietNoSilence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive)
--tokenNoFastly API token, or name of a stored auth token (use 'default' for the default token). Falls back to FASTLY_API_TOKEN env var
--verboseNoVerbose logging