Skip to main content

Azure Monitor logs (generic)

Beta

Lakewatch is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage workspace-level previews.

Overview​

The built-in azure_monitor_activity parser is a generic catch-all for Azure Monitor log records. It schematizes the common Azure Monitor envelope fields, such as category, operationName, resourceId, and callerIpAddress, and keeps the category-specific payload as a VARIANT in the properties column. Use it for Azure Activity Log subscription events, such as resource operations and service health events, and for any resource or diagnostic log category that has no dedicated parser. Lakewatch ingests these logs from cloud storage using Auto Loader. This is a cloud storage source, not an API connector.

Microsoft Entra ID and Microsoft Graph logs have dedicated parsers with typed columns and richer observables. Prefer them for those categories. See Ingest several Azure log categories from one location.

Onboard Azure Monitor logs​

To ingest Azure Monitor logs, create a cloud-storage datasource for them and attach the built-in azure_monitor_activity parser so events are written to a schematized parsed table. For prerequisites, Unity Catalog access, and the full datasource setup steps, see Cloud storage.

Ingest several Azure log categories from one location​

Azure diagnostic settings can export each log category to its own storage container, or send several categories to one destination, such as an Azure Event Hubs stream that is forwarded to cloud storage. Every record carries its log category in the category field, and each dedicated Azure parser matches only its own categories:

category value

Parser

AuditLogs

azure_audit

SignInLogs, NonInteractiveUserSignInLogs, ServicePrincipalSignInLogs, ManagedIdentitySignInLogs, MicrosoftServicePrincipalSignInLogs

azure_signin

MicrosoftGraphActivityLogs

azure_graph_activity

RiskyUsers, UserRiskEvents

azure_identity_protection

ProvisioningLogs

azure_provisioning

Any other category, including Azure Activity Log categories

azure_monitor_activity

category value

Parser

AuditLogs

azure_audit

SignInLogs, NonInteractiveUserSignInLogs, ServicePrincipalSignInLogs, ManagedIdentitySignInLogs, MicrosoftServicePrincipalSignInLogs

azure_signin

MicrosoftGraphActivityLogs

azure_graph_activity

RiskyUsers, UserRiskEvents

azure_identity_protection

ProvisioningLogs

azure_provisioning

Any other category, including Azure Activity Log categories

azure_monitor_activity

When one location holds a single category, attach only the matching parser. When one location mixes categories, attach every parser for the categories it receives to the same datasource, and attach azure_monitor_activity last. Lakewatch matches each event against the parsers in the order they are attached, so each event lands in its dedicated parser's table, and events from categories without a dedicated parser land in the azure_monitor_activity table instead of the dead-letter sentinel. See Classification.

If your files wrap events in a records array, as Azure Event Hubs does, set the JSON array key to records. See Unwrap enveloped records.

Parsed schema and observables​

The built-in azure_monitor_activity parser schematizes Azure Monitor logs into a parsed table. Every parsed table also carries the Lakewatch-managed columns:

  • lw_id: A non-null string Lakewatch uses as the primary key, supporting deduplication across incremental reads.
  • time: A non-null event timestamp assigned by the parser.
  • lw_meta: Standard Lakewatch processing metadata.
  • lw_observables: Values extracted from fields marked as security observables in the parser.

For more information, see the Parser reference.

Parsed table schema

The azure_monitor_activity parser writes the following columns (generated from the parser definition):

Column

Data type

time

TIMESTAMP

resourceId

STRING

tenantId

STRING

operationName

STRING

operationVersion

STRING

category

STRING

resultType

STRING

resultSignature

STRING

resultDescription

STRING

durationMs

BIGINT

callerIpAddress

STRING

correlationId

STRING

identity

VARIANT

level

STRING

location

STRING

properties

VARIANT

roleLocation

STRING

providerGuid

STRING

providerName

STRING

Column

Data type

time

TIMESTAMP

resourceId

STRING

tenantId

STRING

operationName

STRING

operationVersion

STRING

category

STRING

resultType

STRING

resultSignature

STRING

resultDescription

STRING

durationMs

BIGINT

callerIpAddress

STRING

correlationId

STRING

identity

VARIANT

level

STRING

location

STRING

properties

VARIANT

roleLocation

STRING

providerGuid

STRING

providerName

STRING

Parser observables

The parser extracts the following fields into lw_observables (generated from the parser definition):

Field

Observable

callerIpAddress

ip

correlationId

trace_id

Field

Observable

callerIpAddress

ip

correlationId

trace_id

The following VARIANT fields are scanned for observables by matching nested key names; the observable types extracted from each:

Field

Observable types scanned

identity

ip, username

properties

ip, username

Field

Observable types scanned

identity

ip, username

properties

ip, username