Bitmask representing the specific permission checked.
sequence_number_d
Order of the event in an audit batch.
sequence_group_id_g
ID grouping multiple audit events together logically.
Azure Log Analytics entry at the database level
Hereβs a detailed explanation of the fields from the Azure Log Analytics entry at the database level (SqlRequests category) for HS SQL / Dedicated SQL Pool (Synapse):
π· Azure SQL Request Log Fields β Explained
Field
Description
TenantId
The Azure Active Directory (AAD) tenant ID associated with your Azure environment.
TimeGenerated
Timestamp when the log was collected by Azure Monitor (in UTC).
ResourceId
Full path to the database resource in Azure (includes subscription, resource group, server, and database).
Category
Log type β SqlRequests indicates it’s tracking SQL query requests.
ResourceGroup
The Azure resource group containing the database resource.
SubscriptionId
ID of the Azure subscription that owns the database.
ResourceProvider
Azure service provider β MICROSOFT.SQL for SQL services.
Resource
The name of the database β here it is EDH_DATA_MART.
ResourceType
Indicates what type of Azure resource it is β in this case, SERVERS/DATABASES.
OperationName
Type of event captured β here it’s SqlRequestsEvent, which logs SQL query execution details.
LogicalServerName_s
The name of the logical SQL Server (e.g., c10wdedhdatamart01d).
SourceSystem
Always Azure β indicates logs are collected from an Azure resource.
Status_s
Indicates the status of the query β Complete means the query finished successfully.
location_s
Azure region where the resource is hosted β here, it’s westus.
Type
Resource type in the log ingestion context β typically AzureDiagnostics.
_ResourceId
Same as ResourceId, but normalized for diagnostics queries in Kusto (lowercase path).
π§Ύ Detailed Query Execution Info (from AdditionalFields)
Field
Description
RequestId
Unique identifier for the SQL request β useful for tracing across logs.
StartTime
The exact time when the query started execution.
EndTime
The exact time when the query finished execution.
ErrorId
If the query failed, this field would contain the error code (empty here = no error).
Command
The type of SQL command executed (e.g., SELECT, INSERT) β blank here, so possibly system internal or metadata access.
StepIndex
Index of the step in a distributed query (used in Synapse MPP execution).
PdwNodeId
The ID of the node in the Synapse MPP engine that processed this part of the query.
DistributionId
Internal distribution ID used in parallel processing in dedicated SQL pools.
RowCount
Number of rows returned or affected β -1 may indicate no rows returned or metadata access.
Spid
SQL Server Process ID β uniquely identifies the session within the server.
π Use Case of These Logs
These logs are particularly helpful when:
Debugging performance issues or slow-running queries
Monitoring distributed query execution in Synapse SQL Pools
Tracking which nodes processed specific steps
Checking success/failure status of background or user queries