Leveraging Storage Analytics Logs to analyze who accessed the Storage Account

Published Mar 01 2021 01:35 AM 2,688 Views
Microsoft

Scenario:

You want to know who accessed/accessing your storage account. There can be a scenario someone created, deleted, or modified some blobs/containers within your storage account. The blog talks about how you can leverage storage logs, that will help you troubleshoot such scenarios.

 

Actions:

An important source of information for troubleshooting such scenarios are the Storage Analytics logs as it keep tracks of data plane operations happening over the storage account. There is a billing associated to this logging a well.

 

In case storage analytics is enabled, you can leverage below options based on the logging format:

  • If the logging format is 2.0 and you are using OAuth mechanism for authentication & authorization, there is a field UserObjectId. It denotes the object ID used for authentication. It may be any security principal, including a user, managed identity, or service principal.
  • If the logging format is 2.0 however you are not using OAuth and rather getting authenticated via SAS token or access keys, you can rely on the field requester-ip-address and the user-agent-header
  • If the logging format is 1.0 then you can only rely on the field requester-ip-address and the user-agent-header
  • The requester-ip-address fields provides information about the IP address of the requester, including the port number.
  • The user-agent-header fields provide the user agent details such as browser details, SDK details etc.

 

Let us take a look at some more details and the steps you can follow ahead:

 

  1. Enable the storage analytics Logging, if not enabled already.
  • You first need to enable the storage analytical logging. You can either enable the classic one or work with storage resource logs. The current blog is more inclined towards the classic one however the other logs can be leverage in similar way.
  • You can set what type of operation you want to log such as Read, Write etc. Also, take a note at the logging version of the logs as well. Based on available fields, it will help tracking operations based on available fields. If you opt for version 2.0, it has extra fields for a authentication with Azure AD for blob services UserObjectId field will store the Object ID of the user/group/service principal, that made call to storage.

Amrinder_Singh_0-1614579726874.png

 

  • Once you save the settings, there will be a folder $logs that will get created inside the same storage account. it might take some time for logs to appear post the operations are made and these are stored in UTC format.

Amrinder_Singh_1-1614579795535.png

 

NOTE : If the logging isn’t enabled then you won’t be able to backtrack much. You can also consider the above step as a prerequisite for analysis too.

 

  1. Parsing the logs generated
  • The logs will get created in .log format.
  • You can view the log data using Azure Portal, or using a storage explorer like the Microsoft Storage Explorer, or programmatically using the storage client library or PowerShell.
  • Once these have been downloaded, you can make use of below 2 links to parse them for further analysis. The first one converts the log file into CSV format while the second one is a standalone utility. You can leverage them as per your convenience.

https://gist.github.com/ajith-k/aa69feb862a4816d0b4df09fae8aad11

https://github.com/nunomo/AzureStorageLogReader

 

  1. Analyzing the logs
  • We are taking a common scenario of someone deleting the blob and you want to track it back.
  • We will first download the logs and then parse it for further analysis.
  • Herein, a question arises as to get information regarding the time when the operation was performed and you can leverage Metrics option under the Monitoring pane.
  • You can select the metrics as “Transactions” and thereafter make use of ‘Apply Splitting’ option to split the result ahead based on available parameters.  You will get to see count of the various operations happening over the storage account. We can hover on the API we are interested and it will highlight the timings over the graph when the particular operation was called.

Amrinder_Singh_6-1614580260595.png

 

  • There is another level of splitting that you can apply based on the Authentication type. This will help segregating calls based on their Authentication types as keys, SAS, Oauth etc.

Amrinder_Singh_3-1614579856941.png

 

  • For this example, we have parsed it into CSV format, and we get various type of information regarding the call that was made to storage. Let’s take a look at 2 different Delete Blob requests and check on some of the fields of interest.

Amrinder_Singh_4-1614579878744.png

Log Version – It provides the log level version i.e. either 1.0 or 2.0.

Transaction Start Time : Time when the transaction was initiated.

REST Operation Type : Type of operation that was performed such Read, List, Delete etc.

Authentication Type : This tells us about the authentication mechanism such as SAS, OAuth etc.

Request URL : The request URL for the operation and can provide idea regarding the filename.

Request ID : This is the Storage Request ID.

Client IP: This provide information regarding the IP that was hitting the storage.

User Agent : This provide us user agent details of the client application e.g. Storage explorer in above example.

User Object ID: This field is empty in the first snippet because the authentication happed via SAS whereas in the second one you get to the the User Object ID and principal name as well. You can track the User Object ID in Azure AD via portal ahead as well whether it’s belongs to single user, group or Service Principal

Amrinder_Singh_7-1614580314117.png

  • Similarly, based on the available formats and operations, you can track further activities happening on your Storage Account ahead.
  • In case you are observing heavy transactions happening over your storage account then also this document and the procedure shall help in an analyzing the trend too.

More Information, please follow below link

Storage Analytics Logging Format, available fields and description

Storage Analytics Logged Operations

 

Hope this helps!

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2173539%22%20slang%3D%22en-US%22%3ELeveraging%20Storage%20Analytics%20Logs%20to%20analyze%20who%20accessed%20the%20Storage%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2173539%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EScenario%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EYou%20want%20to%20know%20who%20accessed%2Faccessing%20your%20storage%20account.%20There%20can%20be%20a%20scenario%20someone%20created%2C%20deleted%2C%20or%20modified%20some%20blobs%2Fcontainers%20within%20your%20storage%20account.%20The%20blog%20talks%20about%20how%20you%20can%20leverage%20storage%20logs%2C%20that%20will%20help%20you%20troubleshoot%20such%20scenarios.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EActions%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAn%20important%20source%20of%20information%20for%20troubleshooting%20such%20scenarios%20are%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Fcommon%2Fstorage-analytics%3Ftoc%3D%2Fazure%2Fstorage%2Fblobs%2Ftoc.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EStorage%20Analytics%3C%2FA%3E%20logs%20as%20it%20keep%20tracks%20of%20data%20plane%20operations%20happening%20over%20the%20storage%20account.%20There%20is%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Fcommon%2Fstorage-analytics%3Ftoc%3D%2Fazure%2Fstorage%2Fblobs%2Ftoc.json%23billing-for-storage-analytics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ebilling%3C%2FA%3E%20associated%20to%20this%20logging%20a%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20storage%20analytics%20is%20enabled%2C%20you%20can%20leverage%20below%20options%20based%20on%20the%20logging%20format%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIf%20the%20logging%20format%20is%202.0%20and%20you%20are%20using%20OAuth%20mechanism%20for%20authentication%20%26amp%3B%20authorization%2C%20there%20is%20a%20field%20%3CSTRONG%3EUserObjectId%3C%2FSTRONG%3E.%20It%20denotes%20the%20object%20ID%20used%20for%20authentication.%20It%20may%20be%20any%20security%20principal%2C%20including%20a%20user%2C%20managed%20identity%2C%20or%20service%20principal.%3C%2FLI%3E%0A%3CLI%3EIf%20the%20logging%20format%20is%202.0%20however%20you%20are%20not%20using%20OAuth%20and%20rather%20getting%20authenticated%20via%20SAS%20token%20or%20access%20keys%2C%20you%20can%20rely%20on%20the%20field%20%3CSTRONG%3Erequester-ip-address%3C%2FSTRONG%3E%20and%20the%20%3CSTRONG%3Euser-agent-header%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EIf%20the%20logging%20format%20is%201.0%20then%20you%20can%20only%20rely%20on%20the%20field%20%3CSTRONG%3Erequester-ip-address%3C%2FSTRONG%3E%20and%20the%20%3CSTRONG%3Euser-agent-header%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EThe%3CSTRONG%3E%20requester-ip-address%3C%2FSTRONG%3E%20fields%20provides%20information%20about%20the%20IP%20address%20of%20the%20requester%2C%20including%20the%20port%20number.%3C%2FLI%3E%0A%3CLI%3EThe%20%3CSTRONG%3Euser-agent-header%3C%2FSTRONG%3E%20fields%20provide%20the%20user%20agent%20details%20such%20as%20browser%20details%2C%20SDK%20details%20etc.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20us%20take%20a%20look%20at%20some%20more%20details%20and%20the%20steps%20you%20can%20follow%20ahead%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSTRONG%3EEnable%20the%20storage%20analytics%20Logging%2C%20if%20not%20enabled%20already.%20%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EYou%20first%20need%20to%20enable%20the%20storage%20analytical%20logging.%20You%20can%20either%20enable%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Fcommon%2Fmanage-storage-analytics-logs%3Ftabs%3Dazure-portal%23enable-logs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eclassic%3C%2FA%3E%20one%20or%20work%20with%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Fblobs%2Fmonitor-blob-storage%3Ftabs%3Dazure-portal%23creating-a-diagnostic-setting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Estorage%20resource%3C%2FA%3E%20logs.%20The%20current%20blog%20is%20more%20inclined%20towards%20the%20classic%20one%20however%20the%20other%20logs%20can%20be%20leverage%20in%20similar%20way.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20set%20what%20type%20of%20operation%20you%20want%20to%20log%20such%20as%20Read%2C%20Write%20etc.%20Also%2C%20take%20a%20note%20at%20the%20logging%20version%20of%20the%20logs%20as%20well.%20Based%20on%20available%20fields%2C%20it%20will%20help%20tracking%20operations%20based%20on%20available%20fields.%20If%20you%20opt%20for%20version%202.0%2C%20it%20has%20extra%20fields%20for%20a%20authentication%20with%20Azure%20AD%20for%20blob%20services%20%3CSTRONG%3EUserObjectId%3C%2FSTRONG%3E%20field%20will%20store%20the%20Object%20ID%20of%20the%20user%2Fgroup%2Fservice%20principal%2C%20that%20made%20call%20to%20storage.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Amrinder_Singh_0-1614579726874.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258885i92F8C5E565FE4193%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Amrinder_Singh_0-1614579726874.png%22%20alt%3D%22Amrinder_Singh_0-1614579726874.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOnce%20you%20save%20the%20settings%2C%20there%20will%20be%20a%20folder%20%3CSTRONG%3E%24logs%3C%2FSTRONG%3E%20that%20will%20get%20created%20inside%20the%20same%20storage%20account.%20it%20might%20take%20some%20time%20for%20logs%20to%20appear%20post%20the%20operations%20are%20made%20and%20these%20are%20stored%20in%20UTC%20format.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Amrinder_Singh_1-1614579795535.png%22%20style%3D%22width%3A%20524px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258886iDCF7DE3A7B55AD90%2Fimage-dimensions%2F524x65%3Fv%3D1.0%22%20width%3D%22524%22%20height%3D%2265%22%20role%3D%22button%22%20title%3D%22Amrinder_Singh_1-1614579795535.png%22%20alt%3D%22Amrinder_Singh_1-1614579795535.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3ENOTE%20%3A%3C%2FSTRONG%3E%20If%20the%20logging%20isn%E2%80%99t%20enabled%20then%20you%20won%E2%80%99t%20be%20able%20to%20backtrack%20much.%20You%20can%20also%20consider%20the%20above%20step%20as%20a%20prerequisite%20for%20analysis%20too.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3E%3CSTRONG%3EParsing%20the%20logs%20generated%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20logs%20will%20get%20created%20in%20.log%20format.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20view%20the%20log%20data%20using%20Azure%20Portal%2C%20or%20using%20a%20storage%20explorer%20like%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fstorageexplorer.com%252F%26amp%3Bdata%3D04%257C01%257CAmrinder.Singh%2540microsoft.com%257Cf7f64b39308a4cb0fdc808d8d319c0f3%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637491454943888785%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DRxIqqpYtYSp88znTzVaT2gszmZDjn6qCLk%252BoOCTfRzM%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMicrosoft%20Storage%20Explorer%3C%2FA%3E%2C%20or%20programmatically%20using%20the%20storage%20client%20library%20or%20PowerShell.%3C%2FLI%3E%0A%3CLI%3EOnce%20these%20have%20been%20downloaded%2C%20you%20can%20make%20use%20of%20below%202%20links%20to%20parse%20them%20for%20further%20analysis.%20The%20first%20one%20converts%20the%20log%20file%20into%20CSV%20format%20while%20the%20second%20one%20is%20a%20standalone%20utility.%20You%20can%20leverage%20them%20as%20per%20your%20convenience.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2Fajith-k%2Faa69feb862a4816d0b4df09fae8aad11%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2Fajith-k%2Faa69feb862a4816d0b4df09fae8aad11%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnunomo%2FAzureStorageLogReader%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnunomo%2FAzureStorageLogReader%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3E%3CSTRONG%3EAnalyzing%20the%20logs%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EWe%20are%20taking%20a%20common%20scenario%20of%20someone%20deleting%20the%20blob%20and%20you%20want%20to%20track%20it%20back.%3C%2FLI%3E%0A%3CLI%3EWe%20will%20first%20download%20the%20logs%20and%20then%20parse%20it%20for%20further%20analysis.%3C%2FLI%3E%0A%3CLI%3EHerein%2C%20a%20question%20arises%20as%20to%20get%20information%20regarding%20the%20time%20when%20the%20operation%20was%20performed%20and%20you%20can%20leverage%20%3CSTRONG%3EMetrics%3C%2FSTRONG%3E%20option%20under%20the%20%3CSTRONG%3EMonitoring%3C%2FSTRONG%3E%20pane.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20select%20the%20metrics%20as%20%E2%80%9C%3CSTRONG%3ETransactions%3C%2FSTRONG%3E%E2%80%9D%20and%20thereafter%20make%20use%20of%20%E2%80%98%3CSTRONG%3EApply%20Splitting%E2%80%99%3C%2FSTRONG%3E%20option%20to%20split%20the%20result%20ahead%20based%20on%20available%20parameters.%26nbsp%3B%20You%20will%20get%20to%20see%20count%20of%20the%20various%20operations%20happening%20over%20the%20storage%20account.%20We%20can%20hover%20on%20the%20API%20we%20are%20interested%20and%20it%20will%20highlight%20the%20timings%20over%20the%20graph%20when%20the%20particular%20operation%20was%20called.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Amrinder_Singh_6-1614580260595.png%22%20style%3D%22width%3A%20561px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258891iF95E1E14C81619A8%2Fimage-dimensions%2F561x218%3Fv%3D1.0%22%20width%3D%22561%22%20height%3D%22218%22%20role%3D%22button%22%20title%3D%22Amrinder_Singh_6-1614580260595.png%22%20alt%3D%22Amrinder_Singh_6-1614580260595.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThere%20is%20another%20level%20of%20splitting%20that%20you%20can%20apply%20based%20on%20the%20Authentication%20type.%20This%20will%20help%20segregating%20calls%20based%20on%20their%20Authentication%20types%20as%20keys%2C%20SAS%2C%20Oauth%20etc.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Amrinder_Singh_3-1614579856941.png%22%20style%3D%22width%3A%20560px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258888i292D3647333B7FAD%2Fimage-dimensions%2F560x222%3Fv%3D1.0%22%20width%3D%22560%22%20height%3D%22222%22%20role%3D%22button%22%20title%3D%22Amrinder_Singh_3-1614579856941.png%22%20alt%3D%22Amrinder_Singh_3-1614579856941.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20this%20example%2C%20we%20have%20parsed%20it%20into%20CSV%20format%2C%20and%20we%20get%20various%20type%20of%20information%20regarding%20the%20call%20that%20was%20made%20to%20storage.%20Let%E2%80%99s%20take%20a%20look%20at%202%20different%20Delete%20Blob%20requests%20and%20check%20on%20some%20of%20the%20fields%20of%20interest.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Amrinder_Singh_4-1614579878744.png%22%20style%3D%22width%3A%20639px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258889i3FF6A6862929D021%2Fimage-dimensions%2F639x147%3Fv%3D1.0%22%20width%3D%22639%22%20height%3D%22147%22%20role%3D%22button%22%20title%3D%22Amrinder_Singh_4-1614579878744.png%22%20alt%3D%22Amrinder_Singh_4-1614579878744.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3ELog%20Version%3C%2FSTRONG%3E%20%E2%80%93%20It%20provides%20the%20log%20level%20version%20i.e.%20either%201.0%20or%202.0.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3ETransaction%20Start%20Time%3C%2FSTRONG%3E%20%3A%20Time%20when%20the%20transaction%20was%20initiated.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3EREST%20Operation%20Type%3C%2FSTRONG%3E%20%3A%20Type%20of%20operation%20that%20was%20performed%20such%20Read%2C%20List%2C%20Delete%20etc.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3EAuthentication%20Type%20%3A%3C%2FSTRONG%3E%20This%20tells%20us%20about%20the%20authentication%20mechanism%20such%20as%20SAS%2C%20OAuth%20etc.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3ERequest%20URL%3C%2FSTRONG%3E%20%3A%20The%20request%20URL%20for%20the%20operation%20and%20can%20provide%20idea%20regarding%20the%20filename.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3ERequest%20ID%20%3A%3C%2FSTRONG%3E%20This%20is%20the%20Storage%20Request%20ID.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3EClient%20IP%3A%3C%2FSTRONG%3E%20This%20provide%20information%20regarding%20the%20IP%20that%20was%20hitting%20the%20storage.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3EUser%20Agent%20%3A%3C%2FSTRONG%3E%20This%20provide%20us%20user%20agent%20details%20of%20the%20client%20application%20e.g.%20Storage%20explorer%20in%20above%20example.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSTRONG%3EUser%20Object%20ID%3A%3C%2FSTRONG%3E%20This%20field%20is%20empty%20in%20the%20first%20snippet%20because%20the%20authentication%20happed%20via%20SAS%20whereas%20in%20the%20second%20one%20you%20get%20to%20the%20the%20User%20Object%20ID%20and%20principal%20name%20as%20well.%20You%20can%20track%20the%20User%20Object%20ID%20in%20Azure%20AD%20via%20portal%20ahead%20as%20well%20whether%20it%E2%80%99s%20belongs%20to%20single%20user%2C%20group%20or%20Service%20Principal%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Amrinder_Singh_7-1614580314117.png%22%20style%3D%22width%3A%20564px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258892i43F11314238E121D%2Fimage-dimensions%2F564x82%3Fv%3D1.0%22%20width%3D%22564%22%20height%3D%2282%22%20role%3D%22button%22%20title%3D%22Amrinder_Singh_7-1614580314117.png%22%20alt%3D%22Amrinder_Singh_7-1614580314117.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESimilarly%2C%20based%20on%20the%20available%20formats%20and%20operations%2C%20you%20can%20track%20further%20activities%20happening%20on%20your%20Storage%20Account%20ahead.%3C%2FLI%3E%0A%3CLI%3EIn%20case%20you%20are%20observing%20heavy%20transactions%20happening%20over%20your%20storage%20account%20then%20also%20this%20document%20and%20the%20procedure%20shall%20help%20in%20an%20analyzing%20the%20trend%20too.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EMore%20Information%2C%20please%20follow%20below%20link%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Fstorage-analytics-log-format%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EStorage%20Analytics%20Logging%20Format%2C%20available%20fields%20and%20description%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Fstorage-analytics-logged-operations-and-status-messages%23logged-operations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EStorage%20Analytics%20Logged%20Operations%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2173539%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Storage%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Feb 28 2021 11:42 PM
Updated by: