ms-app-analytics

Query from PowerBI to AI suddenly fails with (502): Bad Gateway

人盡茶涼 提交于 2021-01-29 03:16:49
问题 In Power BI (Desktop) we use a Power BI Query (M) to get data from Application Insights Analytics. We published the Power BI Report to Power BI online configured with a daily refresh. It worked fine until it stopped working on 25-1-2017 (UTC). The error we get is: DataSource.Error: Web.Contents failed to get contents from '.....' (502): Bad Gateway This is the complete error: DataSource.Error: Web.Contents failed to get contents from 'https://management.azure.com/subscriptions/<subscriptionId

Azure Application Insights Query - How to calculate percentage of total

ε祈祈猫儿з 提交于 2021-01-27 04:28:09
问题 I'm trying to create a row in an output table that would calculate percentage of total items: Something like this: ITEM | COUNT | PERCENTAGE item 1 | 4 | 80 item 2 | 1 | 20 I can easily get a table with rows of ITEM and COUNT, but I can't figure out how to get total (5 in this case) as a number so I can calculate percentage in column %. someTable | where name == "Some Name" | summarize COUNT = count() by ITEM = tostring( customDimensions.["SomePar"]) | project ITEM, COUNT, PERCENTAGE = (C/?)

Application Insights: Analytics - how to extract string at specific position

你离开我真会死。 提交于 2020-07-20 07:24:06
问题 I'd like to do, Extracting "query" strings where param=1 as follows in "2." Getting pageViews in Analytics with table as "3." 1. Actual urls included in pageView https://example.com/dir01/?query=apple&param=1 https://example.com/dir01/?query=apple&param=1 https://example.com/dir01/?query=lemon+juice&param=1 https://example.com/dir01/?query=lemon+juice&param=0 https://example.com/dir01/?query=tasteful+grape+wine&param=1 2. Value expected to extract apple lemon+juice tasteful+grape+wine 3.

Application Insight Analytics Pivot

孤人 提交于 2019-12-13 03:49:39
问题 Is there a way to pivot in Azure Application insight analytic queries? SQL has a Pivot Keyword, can similar be achieved in Application insight Analytics? When I run the below query I get exceptions and count, but I would like to see a day on day trending exceptions | where timestamp >= ago(24h) | extend Api = replace(@"/(\d+)",@"/xxxx", operation_Name) | summarize count() by type | sort by count_ desc | limit 10 | project Exception = type, Count = count_ I am looking for something below day

How to get the Qna Maker “Q” from Analytics Application Insights?

懵懂的女人 提交于 2019-12-11 10:16:38
问题 I have created my chatbot's knowledge base with Qna Maker and I am trying to visualize some statistics with Analytics Application Insights. What I want to do I would like to create a chart with the most requested Qna Maker questions. My problem I can't find the Qna Maker questions in the customDimensions traces on Analytics but only their Id : My question Is their a way to get the Qna Maker Question linked to this Id directly from the Analytics Application Insights tool ? Thank you. PS : I

Page results from Azure Application Insights Analytics API

核能气质少年 提交于 2019-12-11 07:29:42
问题 Is it possible to "page" the results from the Analytics API? If I use the following Query (via http POST) { "query":"customEvents | project customDimensions.FilePath, timestamp | where timestamp > now(-100d) | order by timestamp desc | limit 25" } I get up to 10,000 results back in one result set. Is there any way to use something similar to the $skip that they have for the events API? Like "SKIP 75 TAKE 25" or something to get the 4th page of results. 回答1: [edit: this answer is now out of

Application Insights Analytics doing sub selects

做~自己de王妃 提交于 2019-12-11 07:11:04
问题 I am using this reference documentation for Application Insights. How can I do a sub-select using the output of a different query? //Query 1 Events | where Timestamp >= ago(30min) and Data contains('SomeString') | project TraceToken //I would like to use the first query's output in the subselect here. Events | where TraceToken in ({I would like to use the First query's output here.}) Is a join better in this scenario. Which would have better performance. 回答1: You can use let statement to