본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Azure 리소스 로그 이벤트 시맨틱 컨벤션 (Semantic conventions for Azure resource log events)

원문 보기 위키 갱신

Azure 리소스 로그(Resource Log) 이벤트를 발행하는 계측(instrumentation)에서 따라야 하는 시맨틱 컨벤션을 소개해요.

출처: 문서

본문

이 문서는 Azure 리소스 로그(Resource Log) 이벤트를 발행하는 계측을 위한 시맨틱 컨벤션을 정의해요.

Azure 리소스 로그 (Azure Resource Log)

이벤트 이름은 반드시 azure.resource.log여야 해요(MUST).

Azure 리소스 로그 이벤트를 설명해요. 자세한 내용은 Azure 리소스 로그 최상위 스키마(Azure Resource Log Top-level Schema)를 참고하세요.

속성 (Attributes):

Key Stability Requirement Level Value Type Description Example Values
azure.service.request.id Recommended string The unique identifier of the service request. It’s generated by the Azure service and returned with the response. 00000000-0000-0000-0000-000000000000
cloud.resource_id Recommended string The 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>

본문 필드 (Body fields):

⚠️ 본문 필드는 시맨틱 컨벤션 툴링이 복합 속성(complex attributes)을 지원하게 되면 복합 속성으로 옮겨질 예정이에요 (#1870 참고).

Field Name Stability Requirement Level Value Type Description Example Values
category Recommended string The Azure category of the log entry. AuditEvent; GatewayLogs; ApplicationGatewayAccessLog
correlation.id Recommended string The correlation ID of the log entry. 607964b6-41a5-4e24-a5db-db7aab3b9b34
duration Recommended int The duration of the operations in milliseconds. 1000
identity Opt-In undefined “A JSON blob that describes the identity of the user or application that performed the operation.” [1]
operation.name Recommended string The name of the operation. SecretGet; Microsoft.ApiManagement/GatewayLogs; ApplicationGatewayAccess
operation.version Recommended string The version of the operation. 1.0
properties Recommended undefined The properties provided in the Azure Resource Log.
result.description Recommended string The description of the result. The operation was successful; The operation failed
result.signature Recommended string The substatus of associated with the logged event. OK
result.type Recommended string The status associated with the logged event. Succeeded; Failed; Started
tenant.id Conditionally Required [2] string The tenant ID of the Active Directory tenant that this event is tied to. 00000000-0000-0000-0000-000000000000

[1] 일반적으로 이 필드에는 Active Directory의 권한 부여(authorization), 클레임(claims), 또는 JWT 토큰이 포함돼요.

경고 (Warning)

이 필드는 민감한 개인정보(PII)를 포함해요.

[2] tenant.id: 이벤트가 Active Directory 테넌트와 연결된 경우.

더 알아보기 (Learn more)