Skip to content

Commit 88f9509

Browse files
committed
Microsoft Copilot: Update dashboard note text, define facets and pipeline
1 parent bd0fc42 commit 88f9509

File tree

3 files changed

+199
-31
lines changed

3 files changed

+199
-31
lines changed

microsoft_copilot/assets/dashboards/microsoft_copilot_usage.json

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,16 @@
214214
"x": 6,
215215
"y": 3,
216216
"width": 6,
217-
"height": 4
217+
"height": 3
218218
}
219219
},
220220
{
221221
"id": 8138763535560108,
222222
"definition": {
223223
"type": "note",
224-
"content": "_Application usage reports are time delayed by up to three days._",
224+
"content": "_Microsoft 365 Copilot usage reports become available through the API [approximately 72 hours](https://learn.microsoft.com/en-us/microsoft-365/admin/activity-reports/microsoft-365-copilot-usage?view=o365-worldwide) after the activity occurs._",
225225
"background_color": "blue",
226-
"font_size": "14",
226+
"font_size": "16",
227227
"text_align": "center",
228228
"vertical_align": "center",
229229
"show_tick": false,
@@ -235,31 +235,6 @@
235235
"x": 0,
236236
"y": 4,
237237
"width": 6,
238-
"height": 1
239-
}
240-
},
241-
{
242-
"id": 8103835845010090,
243-
"definition": {
244-
"title": "Monitor Summary",
245-
"type": "manage_status",
246-
"display_format": "list",
247-
"color_preference": "text",
248-
"hide_zero_counts": true,
249-
"show_status": true,
250-
"last_triggered_format": "relative",
251-
"query": "tag:(source:microsoft_copilot AND service:user-detail-report)",
252-
"sort": "status,asc",
253-
"count": 50,
254-
"start": 0,
255-
"summary_type": "monitors",
256-
"show_priority": false,
257-
"show_last_triggered": false
258-
},
259-
"layout": {
260-
"x": 0,
261-
"y": 5,
262-
"width": 6,
263238
"height": 2
264239
}
265240
}
@@ -269,7 +244,7 @@
269244
"x": 0,
270245
"y": 0,
271246
"width": 12,
272-
"height": 8
247+
"height": 7
273248
}
274249
},
275250
{
@@ -1269,7 +1244,7 @@
12691244
},
12701245
"layout": {
12711246
"x": 0,
1272-
"y": 8,
1247+
"y": 7,
12731248
"width": 12,
12741249
"height": 17
12751250
}
@@ -1748,5 +1723,6 @@
17481723
"template_variables": [],
17491724
"layout_type": "ordered",
17501725
"notify_list": [],
1751-
"reflow_type": "fixed"
1726+
"reflow_type": "fixed",
1727+
"pause_auto_refresh": false
17521728
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
id: microsoft-copilot
2+
metric_id: microsoft-copilot
3+
backend_only: false
4+
facets:
5+
- description: ""
6+
facetType: list
7+
groups:
8+
- Microsoft 365
9+
name: Microsoft Copilot Chat Last Activity Date
10+
path: report.copilotChatLastActivityDate
11+
source: log
12+
type: string
13+
- description: ""
14+
facetType: list
15+
groups:
16+
- Microsoft 365
17+
name: Microsoft Copilot User Display Name
18+
path: report.displayName
19+
source: log
20+
type: string
21+
- description: ""
22+
facetType: list
23+
groups:
24+
- Microsoft 365
25+
name: Microsoft Copilot User Principal Name
26+
path: report.userPrincipalName
27+
source: log
28+
type: string
29+
- description: ""
30+
facetType: list
31+
groups:
32+
- Microsoft 365
33+
name: Microsoft Excel Copilot Last Activity Date
34+
path: report.excelCopilotLastActivityDate
35+
source: log
36+
type: string
37+
- description: ""
38+
facetType: list
39+
groups:
40+
- Microsoft 365
41+
name: Microsoft Loop Copilot Last Activity Date
42+
path: report.loopCopilotLastActivityDate
43+
source: log
44+
type: string
45+
- description: ""
46+
facetType: list
47+
groups:
48+
- Microsoft 365
49+
name: Microsoft OneNote Copilot Last Activity Date
50+
path: report.oneNoteCopilotLastActivityDate
51+
source: log
52+
type: string
53+
- description: ""
54+
facetType: list
55+
groups:
56+
- Microsoft 365
57+
name: Microsoft Outlook Copilot Last Activity Date
58+
path: report.outlookCopilotLastActivityDate
59+
source: log
60+
type: string
61+
- description: ""
62+
facetType: list
63+
groups:
64+
- Microsoft 365
65+
name: Microsoft PowerPoint Copilot Last Activity Date
66+
path: report.powerPointCopilotLastActivityDate
67+
source: log
68+
type: string
69+
- description: ""
70+
facetType: list
71+
groups:
72+
- Microsoft 365
73+
name: Microsoft Teams Copilot Last Activity Date
74+
path: report.microsoftTeamsCopilotLastActivityDate
75+
source: log
76+
type: string
77+
- description: ""
78+
facetType: list
79+
groups:
80+
- Microsoft 365
81+
name: Microsoft Word Copilot Last Activity Date
82+
path: report.wordCopilotLastActivityDate
83+
source: log
84+
type: string
85+
pipeline:
86+
type: pipeline
87+
name: Microsoft Copilot
88+
enabled: true
89+
filter:
90+
query: source:microsoft-copilot
91+
processors:
92+
- type: service-remapper
93+
name: Define `service` as the official service of the log
94+
enabled: true
95+
sources:
96+
- service
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
id: microsoft-copilot
2+
tests:
3+
- sample: >-
4+
{
5+
"service": "user-detail-report",
6+
"report": {
7+
"wordCopilotLastActivityDate": "",
8+
"powerPointCopilotLastActivityDate": "",
9+
"oneNoteCopilotLastActivityDate": "",
10+
"displayName": "5528113CBA611463496E1F7931013B2D",
11+
"excelCopilotLastActivityDate": "",
12+
"loopCopilotLastActivityDate": "",
13+
"microsoftTeamsCopilotLastActivityDate": "",
14+
"lastActivityDate": "",
15+
"reportRefreshDate": "2025-09-22",
16+
"copilotActivityUserDetailsByPeriod": [
17+
{
18+
"reportPeriod": 7
19+
}
20+
],
21+
"copilotChatLastActivityDate": "",
22+
"outlookCopilotLastActivityDate": "",
23+
"userPrincipalName": "E95B5A5273F1E3B48023296BB4B444BE"
24+
},
25+
"active": {
26+
"excel": 0,
27+
"microsoftTeams": 0,
28+
"oneNote": 0,
29+
"copilotChat": 0,
30+
"loop": 0,
31+
"powerPoint": 0,
32+
"word": 0,
33+
"outlook": 0
34+
}
35+
}
36+
result:
37+
custom:
38+
active:
39+
copilotChat: 0
40+
excel: 0
41+
loop: 0
42+
microsoftTeams: 0
43+
oneNote: 0
44+
outlook: 0
45+
powerPoint: 0
46+
word: 0
47+
report:
48+
copilotActivityUserDetailsByPeriod:
49+
- reportPeriod: 7
50+
copilotChatLastActivityDate: ""
51+
displayName: "5528113CBA611463496E1F7931013B2D"
52+
excelCopilotLastActivityDate: ""
53+
lastActivityDate: ""
54+
loopCopilotLastActivityDate: ""
55+
microsoftTeamsCopilotLastActivityDate: ""
56+
oneNoteCopilotLastActivityDate: ""
57+
outlookCopilotLastActivityDate: ""
58+
powerPointCopilotLastActivityDate: ""
59+
reportRefreshDate: "2025-09-22"
60+
userPrincipalName: "E95B5A5273F1E3B48023296BB4B444BE"
61+
wordCopilotLastActivityDate: ""
62+
service: "user-detail-report"
63+
message: |-
64+
{
65+
"service" : "user-detail-report",
66+
"report" : {
67+
"wordCopilotLastActivityDate" : "",
68+
"powerPointCopilotLastActivityDate" : "",
69+
"oneNoteCopilotLastActivityDate" : "",
70+
"displayName" : "5528113CBA611463496E1F7931013B2D",
71+
"excelCopilotLastActivityDate" : "",
72+
"loopCopilotLastActivityDate" : "",
73+
"microsoftTeamsCopilotLastActivityDate" : "",
74+
"lastActivityDate" : "",
75+
"reportRefreshDate" : "2025-09-22",
76+
"copilotActivityUserDetailsByPeriod" : [ {
77+
"reportPeriod" : 7
78+
} ],
79+
"copilotChatLastActivityDate" : "",
80+
"outlookCopilotLastActivityDate" : "",
81+
"userPrincipalName" : "E95B5A5273F1E3B48023296BB4B444BE"
82+
},
83+
"active" : {
84+
"excel" : 0,
85+
"microsoftTeams" : 0,
86+
"oneNote" : 0,
87+
"copilotChat" : 0,
88+
"loop" : 0,
89+
"powerPoint" : 0,
90+
"word" : 0,
91+
"outlook" : 0
92+
}
93+
}
94+
service: "user-detail-report"
95+
tags:
96+
- "source:LOGS_SOURCE"

0 commit comments

Comments
 (0)