Reputation: 81
I am looking for comparing diffrent trends in Azure App Insights , Chart looks like below
Can we have any example query's to compare multiple events in the same chart ? Can someone help getting an example query or reference documents in Azure Application Insights ?
Upvotes: 0
Views: 985
Reputation: 963
You can do it using Workbooks or in the Log Analytics query window with something like this:
customEvents
| summarize count() by name, bin(timestamp, 7d)
For AppInsights customEvent data the above query would work, if it is a more traditional Azure Monitor/Log Analytics event then you would need a different query as the tables/field names are different.
Log Analytics uses TimeGenerated whereas classic App Insights resources use Timestamp.
Upvotes: 1