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.
3,020 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. bharathn-msft 5,086 Reputation points Microsoft Employee
    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.


  2. 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

    0 comments No comments