question

EdwinCheng-6031 avatar image
0 Votes"
EdwinCheng-6031 asked EdwinCheng-6031 commented

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

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
image.png (21.8 KiB)
image.png (24.1 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

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered EdwinCheng-6031 commented

@ 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://docs.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.


[4]: /answers/storage/attachments/140650-image.png


image.png (83.3 KiB)
image.png (1.1 KiB)
· 1
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.

I still cannot so any logs in $log.

I have a static website and I am using the Storage Explorer to upload and delete files in the $web container.

Thanks

0 Votes 0 ·