Share via

Log analytics workspace

Revanth Thavidishetty 1 Reputation point
2020-06-15T19:32:24.757+00:00

Is there a way to see all resources sending logs to a log analytics workspace?

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Oleg Ananiev (MSFT) 81 Reputation points Microsoft Employee
    2020-07-11T06:46:43.013+00:00

    While many resources send to AzureDiagnostics, newer integrations use resource specific tables
    You can start by doing
    union *
    | distinct _ResourceId

    Was this answer helpful?

    0 comments No comments

  2. bharathn-msft 5,146 Reputation points Microsoft Employee Moderator
    2020-06-15T21:36:09.707+00:00

    Hi @Revanth Thavidishetty ,

    Thank you for reaching out.

    If you are looking for which all Azure Resources are sending Azure Diagnostic logs to your Log Analytics Workspace, you can run the below query with in workspace logs.

    AzureDiagnostics  
    | distinct ResourceType, Resource  
    

    ** You can limit it to ResourceType as well if you don't need the actual Resource

    Hope above information helps, if you are looking for any other scenarios please revert back.

    Was this answer helpful?


Your answer

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