Unable see Azure storage account diagnostics logs in log analytics workspace

Jishnu AranhamPurath 1 Reputation point
2021-11-17T16:03:49.277+00:00

Hello, I am struggling to configure my log analytics workspace to pick up logs from my Azure storage account. Here is what I did.

  • Went to Diagnostic settings (preview) and added a new setting to send the blob storage logs to my log analytics workspace.

150274-image.png


  • Went to the log analytics workspace and connected to the storage account

150234-image.png


  • Hit the storage several times, tried accessing the blob from browser anonymously.
  • Waited for 30 minutes
  • Tried executing the query StorageBlobLogs
    | where TimeGenerated > ago(3d) and AuthenticationType == "Anonymous"
    | project TimeGenerated, OperationName, AuthenticationType, Uri, _ResourceId
  • This returns no data What am I missing here. Any help appreciated.
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.
3,361 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,846 Reputation points Microsoft Employee
    2021-11-18T17:47:53.117+00:00

    @Jishnu AranhamPurath
    Is it possible that you have no Anonymous requests and that is why no data is returned? Try running some of the other sample queries listed here to see if you get any results.

    Hope this helps! If you are still unable to see the logs, please let us know and we can work with you directly to resolve this.

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

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    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.