/
AnalyticsItemList.json
85 lines (85 loc) · 4.18 KB
/
AnalyticsItemList.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"parameters": {
"api-version": "2015-05-01",
"subscriptionId": "subid",
"resourceGroupName": "my-resource-group",
"resourceName": "my-component",
"scopePath": "analyticsItems"
},
"responses": {
"200": {
"body": [
{
"Scope": "user",
"Type": "query",
"Name": "1",
"Id": "b753348d-333a-4678-a684-c0e9090713b7",
"Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart",
"TimeModified": "2017-06-29T10:27:03Z",
"TimeCreated": null,
"Version": "1.0"
},
{
"Scope": "user",
"Type": "query",
"Name": "4",
"Id": "0d2f1b19-04b2-4c93-bc6f-2466b23c5284",
"Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart",
"TimeModified": "2017-06-29T10:27:13Z",
"TimeCreated": null,
"Version": "1.0"
},
{
"Scope": "user",
"Type": "query",
"Name": "2",
"Id": "3d17bebb-0b20-4b58-9bbd-22aeed70be51",
"Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart",
"TimeModified": "2018-02-10T23:21:05.9952874Z",
"TimeCreated": null,
"Version": "1.0"
},
{
"Scope": "user",
"Type": "query",
"Name": "5",
"Id": "2be491c6-10d9-4cf6-9490-2a7ce7270c54",
"Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart",
"TimeModified": "2017-06-29T10:27:17Z",
"TimeCreated": null,
"Version": "1.0"
},
{
"Scope": "user",
"Type": "query",
"Name": "8",
"Id": "d8f83601-4a40-4dc1-8516-0a28dcb74420",
"Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart",
"TimeModified": "2018-02-10T23:20:19.0174631Z",
"TimeCreated": "2018-02-10T23:20:19.0174631Z",
"Version": "1.0"
},
{
"Scope": "user",
"Type": "query",
"Name": "Exceptions - New in the last 7 days",
"Id": "fd3afe4d-9139-4c76-9b47-81d0fada977b",
"Content": "let newExceptionsTimeRange = 7d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n",
"TimeModified": "2018-02-12T11:01:15.5687326Z",
"TimeCreated": "2018-02-11T22:05:57.6019354Z",
"Version": "1.0"
},
{
"Scope": "shared",
"Type": "query",
"Name": "Exceptions - New in the last 24 hours",
"Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5",
"Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n",
"TimeModified": "2018-02-14T13:13:19.3381394Z",
"TimeCreated": "2018-02-12T11:44:39.2980634Z",
"Version": "1.0"
}
]
}
}
}