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
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EdgeRCFile

EdgeRC file to authenticate your command. Defaults to ~/.edgerc.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Section

EdgeRC section to retrieve authentication credentials from. Defaults to default.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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