No log in $log after setting up Diagnostics Settings (classic) for Storage Account Blob Storage

Edwin Cheng 21 Reputation points
2021-10-14T22:20:26.757+00:00

Hi,

I have a static website in my blob container and I have setup diagnostics settings (classic) for it. I don't see any log in $log, is it something that I have setup incorrectly?

Thanks,
Edwin

140635-image.png

140715-image.png

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
1,565 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 30,901 Reputation points Microsoft Employee
    2021-10-15T01:29:39.817+00:00

    @ Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    The diagnostics logs are saved in a blob container named $logs in your storage account. You can view the log data using a storage explorer like the Microsoft Azure Storage Explorer, or programmatically using the storage client library or PowerShell.

    For information about accessing the $logs container, see Storage analytics logging.

    There is a similar Q&A thread discussion here, please refer to the suggestion mentioned over-there

    For more information refer to this article: https://learn.microsoft.com/en-us/azure/storage/common/manage-storage-analytics-logs?tabs=azure-portal

    It could be intermittently issue, wait for sometime. Once you have enabled storage analytics properly, these containers and tables are created automatically by storage service when it needs to push some data there. Just ensure that you have configured it properly.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to 140741-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.