Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureCorrelationIdLog

Get-AzureCorrelationIdLog

microsoft.azure.commands.insights.dll

Synopsis

Gets the operations associated with a CorrelationId

Syntax

Get-AzureCorrelationIdLog [-CorrelationId] [-StartTime] [-EndTime] [-Status] [-Caller] [-DetailedOutput] [-Profile] [<CommonParameters>]

Detailed Description

Gets the operations associated with a CorrelationId.

Parameters

-CorrelationId <String>

Specifies a filter by correlationId. This parameter is mandatory.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-StartTime <Nullable`1[DateTime]>

Specifies the start time of the query in local time. This parameter is optional. The default is EndTime minus one hour.

Aliases

None

Required?

false

Position

named

Default value

EndTime minus one hour

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-EndTime <Nullable`1[DateTime]>

Specifies the end time of the query in local time. This parameter is optional. The default is the current time. The value must be earlier than StartTime, but not more than 15 days.

Aliases

None

Required?

false

Position

named

Default value

Current time

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Status <String>

Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter)

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Caller <String>

Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter)

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-DetailedOutput <SwitchParameter>

If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.)

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Profile <AzureProfile>

In-memory profile (AzureProfile).

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

None

Notes

Examples

-------------------------- Example 1: GetAzureCorrelationIdLog --------------------------

This command lists all the operations associated to the given CorrelationId that took place in the last hour.

PS C:\>Get-AzureCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23

-------------------------- Example 2: GetAzureCorrelationIdLog with starttime only --------------------------

This command lists all the operations associated to the given CorrelationId that took place on or after 2015-01-01T10:30 local time.

PS C:\>Get-AzureCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00

-------------------------- Example 3: GetAzureCorrelationIdLog with start and end times --------------------------

This command lists all the operations associated to the given CorrelationId that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.

PS C:\>Get-AzureCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00 -EndTime 2015-01-15T12:30:00

Online Version
Get-AzureSubscriptionIdLog
Get-AzureResourceGroupLog
Get-AzureResourceLog
Get-AzureResourceProviderLog