You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sentinel/get-visibility.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ ms.author: yelevin
9
9
10
10
# Visualize collected data
11
11
12
-
In this article, you will learn how to quickly be able to view and monitor what's happening across your environment using Microsoft Sentinel. After you connected your data sources to Microsoft Sentinel, you get instant visualization and analysis of data so that you can know what's happening across all your connected data sources. Microsoft Sentinel gives you workbooks that provide you with the full power of tools already available in Azure as well as tables and charts that are built in to provide you with analytics for your logs and queries. You can either use workbook templates or create a new workbook easily, from scratch or based on an existing workbook.
12
+
In this article, you will learn how to quickly be able to view and monitor what's happening across your environment using Microsoft Sentinel.
13
+
14
+
After you connected your data sources to Microsoft Sentinel, you get instant visualization and analysis of data so that you can know what's happening across all your connected data sources. Microsoft Sentinel gives you workbooks that provide you with the full power of tools already available in Azure as well as tables and charts that are built in to provide you with analytics for your logs and queries. You can either use workbook templates or create a new workbook easily, from scratch or based on an existing workbook.
Copy file name to clipboardExpand all lines: articles/sentinel/powerbi.md
+82-81Lines changed: 82 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ In this article, you:
29
29
People you granted access in the Power BI service, and members of the Teams channel, can see the report without needing Microsoft Sentinel permissions.
@@ -44,46 +45,46 @@ Create, run, and export a KQL query from Microsoft Sentinel.
44
45
1. To create a simple query, in Microsoft Sentinel, select **Logs**. If your workspace is onboarded to the unified security operations platform, select **General > Logs**.
45
46
46
47
1. In the query editor, under **New Query 1**, enter the following query, or any other Microsoft Sentinel query for your data:
1. Select **Run** to run the query and generate results.
57
-
58
-
:::image type="content" source="media/powerbi/query.png" alt-text="Screenshot showing the KQL query and results.":::
59
-
58
+
59
+
:::image type="content" source="media/powerbi/query.png" alt-text="Screenshot showing the KQL query and results.":::
60
+
60
61
1. To export the query to Power BI M query format, select **Export**, and then select **Export to Power BI (M query)**. The query is exported to a text file called *PowerBIQuery.txt*.
61
-
62
-
:::image type="content" source="media/powerbi/export.png" alt-text="Screenshot showing query Export to Power BI M format.":::
63
-
62
+
63
+
:::image type="content" source="media/powerbi/export.png" alt-text="Screenshot showing query Export to Power BI M format.":::
64
+
64
65
1. Copy the contents of the exported file.
65
66
66
67
## Get the data in Power BI Desktop
67
68
68
69
Run the exported M query in Power BI Desktop to get data.
69
70
70
71
1. Open Power BI Desktop, and sign in to your Power BI account that has read access to your Microsoft Sentinel workspace.
71
-
72
-
:::image type="content" source="media/powerbi/sign-in.png" alt-text="Screenshot showing sign-in to Power BI Desktop.":::
73
-
72
+
73
+
:::image type="content" source="media/powerbi/sign-in.png" alt-text="Screenshot showing sign-in to Power BI Desktop.":::
74
+
74
75
1. In the Power BI ribbon, select **Get data** and then select **Blank query**. The **Power Query Editor** opens.
75
-
76
-
:::image type="content" source="media/powerbi/blank-query.png" alt-text="Screenshot showing Blank query selected under Get data in Power BI Desktop.":::
77
-
76
+
77
+
:::image type="content" source="media/powerbi/blank-query.png" alt-text="Screenshot showing Blank query selected under Get data in Power BI Desktop.":::
78
+
78
79
1. In the **Power Query Editor**, select **Advanced Editor**.
79
-
80
+
80
81
1. Paste the copied contents of the exported *PowerBIQuery.txt* file into the **Advanced Editor** window, and then select **Done**.
81
-
82
-
:::image type="content" source="media/powerbi/advanced-editor.png" alt-text="Screenshot showing the M query pasted in to the Power BI Advanced Editor.":::
83
-
82
+
83
+
:::image type="content" source="media/powerbi/advanced-editor.png" alt-text="Screenshot showing the M query pasted in to the Power BI Advanced Editor.":::
84
+
84
85
1. In the **Power Query Editor**, rename the query to *App_signin_stats*, and then select **Close & Apply**.
85
-
86
-
:::image type="content" source="media/powerbi/close-apply.png" alt-text="Screenshot showing the renamed query and Close & Apply command in the Power Query Editor.":::
86
+
87
+
:::image type="content" source="media/powerbi/close-apply.png" alt-text="Screenshot showing the renamed query and Close & Apply command in the Power Query Editor.":::
87
88
88
89
## Create visualizations from the data
89
90
@@ -94,112 +95,112 @@ Now that your data is in Power BI, you can create visualizations to provide insi
94
95
First, create a table that shows all the results of the query.
95
96
96
97
1. To add a table visualization to the Power BI Desktop canvas, select the **table** icon under **Visualizations**.
97
-
98
-
:::image type="content" source="media/powerbi/table.png" alt-text="Screenshot showing the table icon under Visualizations in Power BI Desktop.":::
99
-
98
+
99
+
:::image type="content" source="media/powerbi/table.png" alt-text="Screenshot showing the table icon under Visualizations in Power BI Desktop.":::
100
+
100
101
1. Under **Fields**, select all the fields in your query, so they all appear in the table. If the table doesn't show all the data, enlarge the table by dragging its selection handles.
101
-
102
-
:::image type="content" source="media/powerbi/select-fields.png" alt-text="Screenshot showing all fields selected for the table visualization.":::
103
-
102
+
103
+
:::image type="content" source="media/powerbi/select-fields.png" alt-text="Screenshot showing all fields selected for the table visualization.":::
104
+
104
105
### Create a pie chart
105
106
106
107
Next, create a pie chart that shows which applications had the most failed sign-in attempts.
107
108
108
109
1. Deselect the table visual by clicking or tapping outside of it, and then under **Visualizations**, select the **pie chart** icon.
109
-
110
-
:::image type="content" source="media/powerbi/pie-chart.png" alt-text="Screenshot showing the pie chart icon under Visualizations in Power BI Desktop.":::
111
-
110
+
111
+
:::image type="content" source="media/powerbi/pie-chart.png" alt-text="Screenshot showing the pie chart icon under Visualizations in Power BI Desktop.":::
112
+
112
113
1. Select **AppDisplayName** in the **Legend** well, or drag it from the **Fields** pane. Select **Failed** in the **Values** well, or drag it from **Fields**. The pie chart now shows the number of failed sign-in attempts per application.
113
-
114
-
:::image type="content" source="media/powerbi/failed.png" alt-text="Screenshot showing the pie chart with number of failed sign-in attempts per application.":::
115
-
114
+
115
+
:::image type="content" source="media/powerbi/failed.png" alt-text="Screenshot showing the pie chart with number of failed sign-in attempts per application.":::
116
+
116
117
### Create a new quick measure
117
118
118
119
You also want to show what percentage of sign-in attempts failed for each application. Since your query doesn't have a percentage column, you can create a new measure to show this information.
119
120
120
121
1. Under **Visualizations**, select the **stacked column chart** icon to create a stacked column chart.
121
-
122
-
:::image type="content" source="media/powerbi/column-chart.png" alt-text="Screenshot showing the stacked column chart icon under Visualizations in Power BI Desktop.":::
123
-
122
+
123
+
:::image type="content" source="media/powerbi/column-chart.png" alt-text="Screenshot showing the stacked column chart icon under Visualizations in Power BI Desktop.":::
124
+
124
125
1. With the new visualization selected, select **Quick measure** in the ribbon.
125
-
126
+
126
127
1. In the **Quick measures** window, under **Calculation**, select **Division**. Drag **Failed** from **Fields** into the **Numerator** field, and drag **Attempts** from **Fields** to **Denominator**.
127
-
128
-
:::image type="content" source="media/powerbi/quick-measures.png" alt-text="Screenshot showing the settings in the Quick measures window.":::
129
-
128
+
129
+
:::image type="content" source="media/powerbi/quick-measures.png" alt-text="Screenshot showing the settings in the Quick measures window.":::
130
+
130
131
1. Select **OK**. The new measure appears in the **Fields** pane.
131
-
132
+
132
133
1. Select the new measure in the **Fields** pane, and under **Formatting** in the ribbon, select **Percentage**.
133
-
134
-
:::image type="content" source="media/powerbi/percentage.png" alt-text="Screenshot showing the new measure selected in the Fields pane, and Percentage selected under Formatting in the ribbon.":::
135
-
134
+
135
+
:::image type="content" source="media/powerbi/percentage.png" alt-text="Screenshot showing the new measure selected in the Fields pane, and Percentage selected under Formatting in the ribbon.":::
136
+
136
137
1. With the column chart visualization selected on the canvas, select or drag the **AppDisplayName** field into the **Axis** well, and the new **Failed divided by Attempts** measure into the **Values** well. The chart now shows the percentage of failed sign-in attempts for each application.
137
-
138
-
:::image type="content" source="media/powerbi/failed-percentage.png" alt-text="Screenshot showing the column chart with percentage of failed attempts for each application.":::
139
-
138
+
139
+
:::image type="content" source="media/powerbi/failed-percentage.png" alt-text="Screenshot showing the column chart with percentage of failed attempts for each application.":::
140
+
140
141
### Refresh the data and save the report
141
142
142
143
1. Select **Refresh** to get the latest data from Microsoft Sentinel.
143
-
144
-
:::image type="content" source="media/powerbi/refresh.png" alt-text="Screenshot showing the Refresh button in the ribbon.":::
145
-
144
+
145
+
:::image type="content" source="media/powerbi/refresh.png" alt-text="Screenshot showing the Refresh button in the ribbon.":::
146
+
146
147
1. Select **File** > **Save** and save your Power BI report.
147
148
148
149
## Create a Power BI online workspace
149
150
150
151
To create a Power BI workspace for sharing the report:
151
152
152
153
1. Sign in to [powerbi.com](https://powerbi.com) with the same account you used for Power BI Desktop and Microsoft Sentinel read access.
153
-
154
+
154
155
1. Under **Workspaces**, select **Create a workspace**. Name the workspace *Management Reports*, and select **Save**.
155
-
156
-
:::image type="content" source="media/powerbi/create-workspace.png" alt-text="Screenshot showing Create a workspace in the Power BI service.":::
157
-
156
+
157
+
:::image type="content" source="media/powerbi/create-workspace.png" alt-text="Screenshot showing Create a workspace in the Power BI service.":::
158
+
158
159
1. To grant people and groups access to the workspace, select the **More options** dots next to the new workspace name, and then select **Workspace access**.
159
-
160
-
:::image type="content" source="media/powerbi/workspace-access.png" alt-text="Screenshot showing Workspace access in the workspace More options menu.":::
161
-
160
+
161
+
:::image type="content" source="media/powerbi/workspace-access.png" alt-text="Screenshot showing Workspace access in the workspace More options menu.":::
162
+
162
163
1. In the **Workspace access** side pane, you can add users' email addresses and assign each user a role. The roles are Admin, Member, Contributor, and Viewer.
163
164
164
165
## Publish the Power BI report
165
166
166
167
Now you can use Power BI Desktop to publish your Power BI report so other people can see it.
167
168
168
169
1. In your new report in Power BI Desktop, select **Publish**.
169
-
170
-
:::image type="content" source="media/powerbi/publish.png" alt-text="Screenshot showing Publish in the Power BI Desktop ribbon.":::
171
-
170
+
171
+
:::image type="content" source="media/powerbi/publish.png" alt-text="Screenshot showing Publish in the Power BI Desktop ribbon.":::
172
+
172
173
1. Select the **Management Reports** workspace to publish to, and select **Select**.
173
-
174
-
:::image type="content" source="media/powerbi/select-workspace.png" alt-text="Screenshot that shows selecting the Power BI Management Reports workspace to publish to.":::
175
-
174
+
175
+
:::image type="content" source="media/powerbi/select-workspace.png" alt-text="Screenshot that shows selecting the Power BI Management Reports workspace to publish to.":::
176
+
176
177
## Import the report to a Microsoft Teams channel
177
178
178
179
You also want members of the Management Teams channel to be able to see the report. To add the report to a Teams channel:
179
180
180
181
1. In the Management Teams channel, select **+** to add a tab, and in the **Add a tab** window, search for and select **Power BI**.
181
182
182
-
:::image type="content" source="media/powerbi/add-tab.png" alt-text="Screenshot that shows selecting Power BI in the Add a tab window in Teams.":::
183
-
183
+
:::image type="content" source="media/powerbi/add-tab.png" alt-text="Screenshot that shows selecting Power BI in the Add a tab window in Teams.":::
184
+
184
185
1. Select your new report from the list of Power BI reports, and select **Save**. The report appears in a new tab in the Teams channel.
185
-
186
-
:::image type="content" source="media/powerbi/teams.png" alt-text="Screenshot showing the Power BI report in a tab in the Teams channel.":::
186
+
187
+
:::image type="content" source="media/powerbi/teams.png" alt-text="Screenshot showing the Power BI report in a tab in the Teams channel.":::
187
188
188
189
## Schedule report refresh
189
190
190
191
Refresh your Power BI report on a schedule, so updated data always appears in the report.
191
192
192
193
1. In the Power BI service, select the workspace you published your report to.
193
-
194
+
194
195
1. Next to the report's dataset, select **More options** > **Settings**.
195
-
196
-
:::image type="content" source="media/powerbi/settings.png" alt-text="Screenshot showing Settings under More options in the Power BI report dataset.":::
197
-
198
-
1. Select **Edit credentials** to provide the credentials for an account that has read access to the Microsoft Sentinel workspace.
199
-
196
+
197
+
:::image type="content" source="media/powerbi/settings.png" alt-text="Screenshot showing Settings under More options in the Power BI report dataset.":::
198
+
199
+
1. Select **Edit credentials** to provide the credentials for an account that has read access to the Log Analytics workspace.
200
+
200
201
1. Under **Scheduled refresh**, set the slider to **On**, and set up a refresh schedule for the report.
201
-
202
-
:::image type="content" source="media/powerbi/schedule.png" alt-text="Screenshot showing Scheduled refresh settings for the Power BI report dataset.":::
202
+
203
+
:::image type="content" source="media/powerbi/schedule.png" alt-text="Screenshot showing Scheduled refresh settings for the Power BI report dataset.":::
0 commit comments