Repository navigation
Expand file tree
/
Copy pathObject Detection.workbook
More file actions
135 lines (135 loc) · 4.4 KB
/
Copy pathObject Detection.workbook
File metadata and controls
135 lines (135 loc) · 4.4 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## Person Detection"
},
"name": "Title"
},
{
"type": 9,
"content": {
"version": "KqlParameterItem/1.0",
"parameters": [
{
"id": "ae721cb1-e030-4e02-8839-9c6a00f66c8a",
"version": "KqlParameterItem/1.0",
"name": "Workspace",
"type": 5,
"description": "Select at least one workspace that contains continuous export data based on the selected subscriptions",
"isRequired": true,
"isHiddenWhenLocked": true,
"typeSettings": {
"resourceTypeFilter": {
"microsoft.operationalinsights/workspaces": true
},
"additionalResourceOptions": [
"value::1"
],
"showDefault": false
},
"defaultValue": "value::1"
},
{
"id": "4f3a03fd-9968-4ee7-b6bc-d04d3bbe14a8",
"version": "KqlParameterItem/1.0",
"name": "TimeRange",
"label": "Time Range",
"type": 4,
"description": "Filter the data of this report to one of these predefined time ranges",
"isRequired": true,
"value": {
"durationMs": 259200000
},
"typeSettings": {
"selectableValues": [
{
"durationMs": 259200000
},
{
"durationMs": 604800000
},
{
"durationMs": 1209600000
},
{
"durationMs": 2419200000
},
{
"durationMs": 2592000000
}
],
"allowCustom": true
}
},
{
"id": "0117bdc3-a4e2-476b-b7cc-3d1f486e67cf",
"version": "KqlParameterItem/1.0",
"name": "ErrorHandle",
"type": 1,
"query": "let MissingTable = view () { print isMissing=1 };\r\nunion isfuzzy=true MissingTable, (SecureScores | getschema | summarize c=count() | project isMissing=iff(c > 0, 0, 1))\r\n| top 1 by isMissing asc",
"crossComponentResources": [
"{Workspace}"
],
"isHiddenWhenLocked": true,
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
}
],
"style": "above",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "Parameters"
},
{
"type": 12,
"content": {
"version": "NotebookGroup/1.0",
"groupType": "editable",
"items": [
{
"type": 1,
"content": {
"json": "There is no inference telemetry in the selected Log Analytics workspaces(s). Ensure you’ve selected the Log Analytics instance associated with your instance of App Insights. [Learn more](https://go.microsoft.com/fwlink/?linkid=2205419)",
"style": "error"
},
"name": "ErrorHandleTitle"
},
{
"type": 1,
"content": {
"json": "Telemetry must be enabled on your solutions page to use Workbooks.",
"style": "warning"
},
"name": "Title"
}
]
},
"conditionalVisibility": {
"parameterName": "ErrorHandle",
"comparison": "isEqualTo",
"value": "1"
},
"name": "ErrorHandleBanner"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "AppTraces\r\n| where Message has_cs 'regionsOfInterest'\r\n| where Message has_cs 'inferences'\r\n| summarize Person_Detected = count() by format_datetime(TimeGenerated, '[h:m:s tt] yy-M-d')\r\n| render scatterchart with (ytitle = 'Person Detected?', xtitle = 'Time', ymax = 1)",
"size": 0,
"timeContextFromParameter": "TimeRange",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces",
"crossComponentResources": [
"{Workspace}"
]
},
"name": "query - 4"
}
],
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}