Error statistics
Get-EdgeDiagnosticsErrorStatistics
Synopsis
Get error statistics.
Syntax
cpcode (Default)
Get-EdgeDiagnosticsErrorStatistics -CPCode <Int32> [-ErrorType <String>] [-Delivery <String>]
[-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
url
Get-EdgeDiagnosticsErrorStatistics -URL <String> [-ErrorType <String>] [-Delivery <String>]
[-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Description
Gets the HTTP status codes distribution statistics from delivering a URL or CP code based on the nine-second traffic sample from the last two minutes. You can filter the results by -Delivery
and -ErrorType
.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Run the Get-AccountSwitchKey
command to list the account switch keys available to you.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-CPCode
CP code you want to get the error statistics for. You need to provide either this value or URL.
Type Int32
Parameter Sets cpcode
Aliases None
RequiredTrue
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-Delivery
Type of network you want to get traffic data for, either STANDARD_TLS
or ENHANCED_TLS
. Without this filter, Edge Diagnostics checks on its own the type of delivery used by the requested CP code or URL and returns data for it.
If it uses both types, then Edge Diagnostics returns data for the type which got all data collected faster. If you choose the delivery type not used by your resource, then the results are empty.
Type String
Parameter Sets (All)
Aliases
Accepted values STANDARD_TLS, ENHANCED_TLS
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-ErrorType
Type of traffic direction you want to get the data for, either EDGE_ERRORS
or ORIGIN_ERRORS
.
The EDGE_ERRORS
value returns data for the edge server response to a client and ORIGIN_ERRORS
for the edge server forward request to an origin server. Without this filter, Edge Diagnostics returns data for both.
Type String
Parameter Sets (All)
Aliases
Accepted values EDGE_ERRORS, ORIGIN_ERRORS
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-URL
Fully qualified URL you want to get the error statistics for. You need to provide either this value or a CP code.
Type String
Parameter Sets url
Aliases None
RequiredTrue
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object
Related links
Updated 25 days ago