question

AnishVijay-3135 avatar image
0 Votes"
AnishVijay-3135 asked AnishVijay-3135 answered

Monitoring Azure Blob Storage: Archive logs to storage - How to find logs written for blob operations?

I have set up Monitor for Azure Blob Storage by Archiving logs to Storage as recommended here - Monitoring Azure Blob Storage | Microsoft Docs

I have storageAccount1 containing blobs for which I want to monitor any write/delete activites. So I am archiving logs to storageAccount2 with Diagnostic Settings like so.

110501-image.png

However, after performing some Blob write operations in storageAccount1, I am not sure how to find the logs in storageAccount2 once any operation is performed. I checked the Storage Explorer (preview) -> Blob Container and found there are no containers there. I also checked Storage Explorer (preview) -> Table and found that there are no tables there. Where can I find the logs?


azure-monitorazure-storage-accounts
image.png (445.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnishVijay-3135 avatar image
0 Votes"
AnishVijay-3135 answered SumanthMarigowda-MSFT converted comment to answer

There is a time lag for logs to be written. I think it's around 15-30 mins.

Secondly, if you perform an action within a few mins of configuring the Azure Monitor, it might not log the initial operations. There is a slight time lag for the setting to kick in. But once it does, it should work fine.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.