Report

Get-EdgeWorkerReport

Synopsis

Get an EdgeWorker report.

Syntax

Get-EdgeWorkerReport [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdgeWorkerReport -ReportID <Int32> -EdgeWorker <String> -Start <String> -End <String> [-EventHandler <String>] [-Status <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all EdgeWorker reports or returns an individual report by its ID.

Note: If you want to get a specific report, you need to provide other mandatory details, including the start and end date of the report, EdgeWorker ID, and EdgeWorker status.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑EdgeWorker
Conditionally required

Filters by EdgeWorker ID such as 42 or a more specific version such as 42-1.0.

‑End
Conditionally required

ISO 8601 timestamp indicating the end time of the EdgeWorker report. If not specified, the end time defaults to the current time.

‑EventHandler

Filters EdgeWorkers by the event that triggers them, either onClientRequest, onOriginRequest, onOriginResponse, onClientResponse, or responseProvider.

‑ReportID
Conditionally required

Your EdgeWorker report's ID.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑Start
Conditionally required

The ISO 8601 timestamp indicating the start time of the EdgeWorker report.

‑Status

Filters by the EdgeWorker status, either success, genericError, unknownEdgeWorkerId, unimplementedEventHandler, runtimeError, executionError, timeoutError, resourceLimitHit, cpuTimeoutError, wallTimeoutError, initCpuTimeoutError, or initWallTimeoutError.

Related Links