Monitoring activity log - az monitor activity-log

Commands to manage activity log.

Commands

az monitor activity-log list Provides the list of activity log.

az monitor activity-log list

Provides the list of activity log.

az monitor activity-log list [--caller]
[--correlation-id]
[--end-time]
[--filters]
[--max-events]
[--resource-group]
[--resource-id]
[--resource-provider]
[--select]
[--start-time]
[--status]

Optional Parameters

--caller

The caller to look for when querying.

--correlation-id

The correlation id of the query.

--end-time

The end time of the query. In ISO format with explicit indication of timezone: 1970-01-01T00:00:00Z, 1970-01-01T00:00:00-0500. Defaults to current time.

--filters

The OData filter for the list activity logs. If this argument is provided OData Filter Arguments will be ignored.

--max-events

The maximum number of records to be returned by the command.

default value: 50
--resource-group

The resource group.

--resource-id

The identifier of the resource.

--resource-provider

The resource provider.

--select

The list of event names.

--start-time

The start time of the query. In ISO format with explicit indication of timezone: 1970-01-01T00:00:00Z, 1970-01-01T00:00:00-0500. Defaults to 1 Hour prior to the current time.

--status

The status value to query (ex: Failed).