kamil.wydrzycki
kamil.wydrzycki

Reputation: 451

Using application insights data from log analytics

I'm trying to issue a cross resource query from logs both from ApplicationInsights and from LogAnalytics.

According to the documentation below

https://learn.microsoft.com/en-us/azure/azure-monitor/log-query/cross-workspace-query

I should be able to open logs from Azure Monitor and use app expression to reference data from one of my ApplicationInsights apps.

But I get an error saying that Unknown function: 'app'.

How to set it up so both logs will be available?

enter image description here

Upvotes: 0

Views: 1471

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 30035

It's better if you can attach a screenshot of it, so it will help us pinpoint the root cause.

Previously, I provided an answer to a similar issue Unknown function: 'app'. Please try to add the table name like requests / traces at then end of the app expression. The sample query like below:

app("your_applicationInsights_name").requests

Here is the similar issue I answered before.

Please let me know if you still have more issues about that.

Upvotes: 2

Related Questions