Semantic Conventions for Azure Resource Log events

Status: Experimental

This document defines semantic conventions for instrumentations that emit Azure Resource Log events.

Azure Resource Log

Status: Experimental

The event name MUST be az.resource.log.

Describes Azure Resource Log event, see Azure Resource Log Top-level Schema for more details.

AttributeTypeDescriptionExamplesRequirement LevelStability
az.service_request_idstringThe unique identifier of the service request. It’s generated by the Azure service and returned with the response.00000000-0000-0000-0000-000000000000RecommendedExperimental
cloud.resource_idstringThe Fully Qualified Azure Resource ID the log is emitted for.arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function; //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID; /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>RecommendedExperimental

Body fields:

Body FieldTypeDescriptionExamplesRequirement LevelStability
categorystringThe Azure category of the log entry.AuditEvent; GatewayLogs; ApplicationGatewayAccessLogRecommendedExperimental
correlation.idstringThe correlation ID of the log entry.607964b6-41a5-4e24-a5db-db7aab3b9b34RecommendedExperimental
durationintThe duration of the operations in milliseconds.1000RecommendedExperimental
identityundefined“A JSON blob that describes the identity of the user or application that performed the operation.” [1]Opt-InExperimental
operation.namestringThe name of the operation.SecretGet; Microsoft.ApiManagement/GatewayLogs; ApplicationGatewayAccessRecommendedExperimental
operation.versionstringThe version of the operation.1.0RecommendedExperimental
propertiesundefinedThe properties provided in the Azure Resource Log.RecommendedExperimental
result.descriptionstringThe description of the result.The operation was successful; The operation failedRecommendedExperimental
result.signaturestringThe substatus of associated with the logged event.OKRecommendedExperimental
result.typestringThe status associated with the logged event.Succeeded; Failed; StartedRecommendedExperimental
tenant.idstringThe tenant ID of the Active Directory tenant that this event is tied to.00000000-0000-0000-0000-000000000000Conditionally Required [2]Experimental

[1]: Typically, this field includes the authorization and claims or JWT token from Active Directory.

[!Warning] This field contains sensitive (PII) information.

[2] tenant.id: if the event is tied to an Active Directory tenant.