Azure Blob Storage Logging
It is recommended to enable logging for your storage account to troubleshoot the failures occurred during an operation. Using the logging mechanism in Azure for Blob Storage, you can enable the logging process. Use informational events and warnings to verify the success or failure of the executed operation. For more information on accessing log data visit the Microsoft Documentation site.
Prerequisite
Configure a third-party application to allow the downloading of logs. It is recommended to use command-line Azure Copy Tool. Visit
Microsoft site for downloading the tool.
To enable logging for your storage account, follow these steps:
1. Navigate to > .
2. Click ON the toggle button to enable generation of logs.
3. Set the frequency and other parameters to configure the logging process based on your business requirement.
4. Download the logs with the help of your configured download logs tool. Azure saves the downloaded logs to blobs in a container named $logs in your storage account.
5. Open the log file to identify the error and check other details.
|
The logs files are retained for the specific timeframe based upon the parameters set by the user in the Diagnostic logs (classic). It is recommended to use the default values.
|