Skip to content

Commit 12d4d97

Browse files
authored
Merge pull request #289230 from normesta/monitoring-2
Updating monitoring log reference fields
2 parents a8545c9 + a7bd675 commit 12d4d97

File tree

3 files changed

+40
-18
lines changed

3 files changed

+40
-18
lines changed

articles/storage/blobs/monitor-blob-storage-reference.md

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitoring data reference for Azure Blob Storage
33
description: This article contains important reference material you need when you monitor Azure Blob Storage.
4-
ms.date: 08/27/2024
4+
ms.date: 11/05/2024
55
ms.custom: horz-monitor
66
ms.topic: reference
77
author: normesta
@@ -62,12 +62,15 @@ For the metrics supporting dimensions, you need to specify the dimension value t
6262

6363
The following sections describe the properties for Azure Storage resource logs when they're collected in Azure Monitor Logs or Azure Storage. The properties describe the operation, the service, and the type of authorization that was used to perform the operation.
6464

65+
> [!NOTE]
66+
> The field names listed in each section below are valid when resource logs are sent to Azure storage or to an event hub. When the logs are sent to a Log Analytics workspace, the field names might be different.
67+
6568
### Fields that describe the operation
6669

6770
```json
6871
{
6972
"time": "2019-02-28T19:10:21.2123117Z",
70-
"resourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/mytestrp/providers/Microsoft.Storage/storageAccounts/testaccount1/blobServices/default",
73+
"resourceId": "/subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/mytestrp/providers/Microsoft.Storage/storageAccounts/testaccount1/blobServices/default",
7174
"category": "StorageWrite",
7275
"operationName": "PutBlob",
7376
"operationVersion": "2017-04-17",
@@ -76,7 +79,7 @@ The following sections describe the properties for Azure Storage resource logs w
7679
"statusText": "Success",
7780
"durationMs": 5,
7881
"callerIpAddress": "192.168.0.1:11111",
79-
"correlationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
82+
"correlationId": "aaaa0000-bb11-2222-33cc-444444dddddd",
8083
"location": "uswestcentral",
8184
"uri": "http://mystorageaccount.blob.core.windows.net/cont1/blobname?timeout=10"
8285
}
@@ -92,17 +95,17 @@ The following sections describe the properties for Azure Storage resource logs w
9295
"authorization": [
9396
{
9497
"action": "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read",
95-
"denyAssignmentId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
98+
"denyAssignmentId": "aaaa0000-bb11-2222-33cc-444444dddddd",
9699
"principals": [
97100
{
98-
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
101+
"id": "aaaaaaaa-bbbb-cccc-1111-222222222222",
99102
"type": "User"
100103
}
101104
],
102105
"reason": "Policy",
103106
"result": "Granted",
104-
"roleAssignmentId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
105-
"roleDefinitionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
107+
"roleAssignmentId": "00aa00aa-bb11-cc22-dd33-44ee44ee44ee",
108+
"roleDefinitionId": "11bb11bb-cc22-dd33-ee44-55ff55ff55ff",
106109
"type": "RBAC"
107110
}
108111
],
@@ -111,12 +114,18 @@ The following sections describe the properties for Azure Storage resource logs w
111114
"objectKey": "/samplestorageaccount/samplecontainer/sampleblob.png"
112115
},
113116
"requester": {
114-
"appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
117+
"appId": "00001111-aaaa-2222-bbbb-3333cccc4444",
115118
"audience": "https://storage.azure.com/",
116-
"objectId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
117-
"tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
118-
"tokenIssuer": "https://sts.windows.net/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
119+
"objectId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
120+
"tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
121+
"tokenIssuer": "https://sts.windows.net/2c2c2c2c-3333-dddd-4444-5e5e5e5e5e5e",
122+
"uniqueName": "[email protected]"
119123
},
124+
"delegatedResource": {
125+
"tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
126+
"resourceId": "a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1",
127+
"objectId": "a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1"
128+
},
120129
"type": "OAuth"
121130
},
122131
}
@@ -130,10 +139,10 @@ The following sections describe the properties for Azure Storage resource logs w
130139
```json
131140
{
132141
"properties": {
133-
"accountName": "testaccount1",
134-
"requestUrl": "https://testaccount1.blob.core.windows.net:443/upload?restype=container&comp=list&prefix=&delimiter=/&marker=&maxresults=30&include=metadata&_=1551405598426",
142+
"accountName": "contoso",
143+
"requestUrl": "https://contoso.blob.core.windows.net:443/upload?restype=container&comp=list&prefix=&delimiter=/&marker=&maxresults=30&include=metadata&_=1551405598426",
135144
"userAgentHeader": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134",
136-
"referrerHeader": "blob:https://portal.azure.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
145+
"referrerHeader": "blob:https://portal.azure.com/00001111-aaaa-2222-bbbb-3333cccc4444",
137146
"clientRequestId": "",
138147
"etag": "",
139148
"serverLatencyMs": 63,
@@ -157,7 +166,11 @@ The following sections describe the properties for Azure Storage resource logs w
157166
"smbFileId" : " 0x9223442405598953",
158167
"smbSessionID" : "0x8530280128000049",
159168
"smbCommandMajor" : "0x6",
160-
"smbCommandMinor" : "DirectoryCloseAndDelete"
169+
"smbCommandMinor" : "DirectoryCloseAndDelete",
170+
"downloadRange" : "bytes=4-4194307",
171+
"accessTier": "None",
172+
"sourceAccessTier": "Hot",
173+
"rehydratePriority":"High"
161174
}
162175
}
163176
```

includes/azure-storage-logs-properties-authentication.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: normesta
33
ms.service: storage
44
ms.topic: include
5-
ms.date: 05/26/2023
5+
ms.date: 11/05/2024
66
ms.author: normesta
77
---
88

@@ -28,3 +28,8 @@
2828
|**requester / tokenIssuer** | The OAuth token issuer. <br> For example: `https://sts.windows.net/72f988bf-86f1-41af-91ab-222222222222/`.|
2929
|**requester / upn** | The User Principal Name (UPN) of requestor. <br> For example: `[email protected]`. |
3030
|**requester / userName** | This field is reserved for internal use only.|
31+
|**requester / uniqueName** | The unique name of the requester. For example: `[email protected]`. |
32+
|**delegatedResource / tenantId**| The Microsoft Entra tenant ID of the Azure resource ID which accesses storage on-behalf-of the storage resource owner (for example: `aaaabbbb-0000-cccc-1111-dddd2222eeee`). |
33+
|**delegatedResource / resourceId**|The Azure resource ID which accesses storage on behalf of the storage resource owner (for example: `/subscriptions/<sub>/resourcegroups/<rg>/providers/Microsoft.Compute/virtualMachines/<vm-name>`)|
34+
|**delegatedResource / objectId**|The Microsoft Entra object ID of the Azure resource ID which accesses storage on behalf of the storage resource owner (for example: `aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb`).|
35+

includes/azure-storage-logs-properties-service.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: normesta
33
ms.service: storage
44
ms.topic: include
5-
ms.date: 09/28/2020
5+
ms.date: 10/25/2024
66
ms.author: normesta
77
---
88

@@ -36,4 +36,8 @@
3636
|**smbFileId** | The **FileId** associated with the file or directory. Roughly analogous to an NTFS FileId. For example: `0x9223442405598953` |
3737
|**smbSessionID** | The SMB2 **SessionId** established at session setup time. For example: `0x8530280128000049` |
3838
|**smbCommandMajor uint32** | Value in the **SMB2_HEADER.Command**. Currently, this is a number between 0 and 18 inclusive. For example: `0x6` |
39-
|**smbCommandMinor** | The subclass of **SmbCommandMajor**, where appropriate. For example: `DirectoryCloseAndDelete` |
39+
|**smbCommandMinor** | The subclass of **SmbCommandMajor**, where appropriate. For example: `DirectoryCloseAndDelete` |
40+
|**accessTier**|The access tier of an existing blob when an operation such as `GetBlob` or `GetBlobProperties` is used (for example: `Hot`). Can also be the access tier provided in the `x-ms-access-tier` header for operations such as `SetBlobTier`, `PutBlob`, `PutBlockList`, or `CopyBlob`. |
41+
|**sourceAccessTier**|The access tier of the source blob of a copy operation (for example: `Hot`).|
42+
|**rehydrationPriority**|The priority used to rehydrate an archived blob (for example: `High` or `Standard`).|
43+
|**downloadRange**|Indicates that only a part of the blob (the specified byte range) was requested and transferred. For example, if the value of `downloadRange` field is `bytes=0-1023`, then the request retrieved the first `1024` bytes of the blob (from byte offset 0 to 1023).|

0 commit comments

Comments
 (0)