Blob Container not writing to $logs

Ryan Lee 0 Reputation points
2024-09-19T12:58:38.6+00:00

I have logging enabled for my blob storage, but no activity is logged. For the last few days, no new folders have been created in the $logs directory.

User's image

User's image

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,772 Reputation points Microsoft Employee Moderator
    2024-09-19T21:54:15.6533333+00:00

    @Ryan Lee Thanks for posting your query on Microsoft Q&A.

    Do you know the exact date since you stopped seeing the logs?
    It could be because the classic diagnostic settings for Azure storage accounts are being phased out. Microsoft has announced that classic storage accounts and their associated diagnostics are being retired by August 31, 2024.

    Here are the steps to complete the migration from classic Azure storage analytics to Azure Monitor metrics:

    1. Identify Classic Storage Accounts: Check the Diagnostic settings (classic) for each storage account. If set to ON, the storage account is using classic Azure storage analytics
    2. Enable Diagnostic Settings for Each Resource Type: On the storage account blade, ensure that diagnostics settings are enabled for blob, file, queue, etc., and configure them to send data to the new Log Analytics workspace
    3. Disable Diagnostic Settings (Classic): Set the Diagnostic settings (classic) to OFF

    Retain Logs: Ensure that the Delete data checkbox is selected and set the number of days for log data retention

    Please refer to the answer to this post for detailed instructions: https://learn.microsoft.com/en-us/answers/questions/2069449/migrating-azure-storage-account-classic-diagnostic

    Refer: How to migrate your classic storage accounts to Azure Resource Manager - Azure Storage | Microsoft Learn

    If you have any questions, let me know in the comments and I am happy to investigate further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.