Skip to content

Commit f200f50

Browse files
committed
fixing indents
1 parent ca87662 commit f200f50

File tree

2 files changed

+85
-82
lines changed

2 files changed

+85
-82
lines changed

articles/sentinel/get-visibility.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ ms.author: yelevin
99

1010
# Visualize collected data
1111

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.
1315

1416
## Get visualization
1517

articles/sentinel/powerbi.md

Lines changed: 82 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ In this article, you:
2929
People you granted access in the Power BI service, and members of the Teams channel, can see the report without needing Microsoft Sentinel permissions.
3030

3131
[!INCLUDE [unified-soc-preview](includes/unified-soc-preview.md)]
32+
3233
## Prerequisites
3334

3435
To complete the steps in this article, you need:
@@ -44,46 +45,46 @@ Create, run, and export a KQL query from Microsoft Sentinel.
4445
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**.
4546

4647
1. In the query editor, under **New Query 1**, enter the following query, or any other Microsoft Sentinel query for your data:
47-
48-
```kusto
49-
SigninLogs
50-
| where TimeGenerated >ago(7d)
51-
| summarize Attempts = count(), Failed=countif(ResultType !=0), Succeeded = countif(ResultType ==0) by AppDisplayName
52-
| top 10 by Failed
53-
| sort by Failed
54-
```
55-
48+
49+
```kusto
50+
SigninLogs
51+
| where TimeGenerated >ago(7d)
52+
| summarize Attempts = count(), Failed=countif(ResultType !=0), Succeeded = countif(ResultType ==0) by AppDisplayName
53+
| top 10 by Failed
54+
| sort by Failed
55+
```
56+
5657
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+
6061
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+
6465
1. Copy the contents of the exported file.
6566

6667
## Get the data in Power BI Desktop
6768

6869
Run the exported M query in Power BI Desktop to get data.
6970

7071
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+
7475
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+
7879
1. In the **Power Query Editor**, select **Advanced Editor**.
79-
80+
8081
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+
8485
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.":::
8788

8889
## Create visualizations from the data
8990

@@ -94,112 +95,112 @@ Now that your data is in Power BI, you can create visualizations to provide insi
9495
First, create a table that shows all the results of the query.
9596

9697
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+
100101
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+
104105
### Create a pie chart
105106

106107
Next, create a pie chart that shows which applications had the most failed sign-in attempts.
107108

108109
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+
112113
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+
116117
### Create a new quick measure
117118

118119
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.
119120

120121
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+
124125
1. With the new visualization selected, select **Quick measure** in the ribbon.
125-
126+
126127
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+
130131
1. Select **OK**. The new measure appears in the **Fields** pane.
131-
132+
132133
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+
136137
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+
140141
### Refresh the data and save the report
141142

142143
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+
146147
1. Select **File** > **Save** and save your Power BI report.
147148

148149
## Create a Power BI online workspace
149150

150151
To create a Power BI workspace for sharing the report:
151152

152153
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+
154155
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+
158159
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+
162163
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.
163164

164165
## Publish the Power BI report
165166

166167
Now you can use Power BI Desktop to publish your Power BI report so other people can see it.
167168

168169
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+
172173
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+
176177
## Import the report to a Microsoft Teams channel
177178

178179
You also want members of the Management Teams channel to be able to see the report. To add the report to a Teams channel:
179180

180181
1. In the Management Teams channel, select **+** to add a tab, and in the **Add a tab** window, search for and select **Power BI**.
181182

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+
184185
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.":::
187188

188189
## Schedule report refresh
189190

190191
Refresh your Power BI report on a schedule, so updated data always appears in the report.
191192

192193
1. In the Power BI service, select the workspace you published your report to.
193-
194+
194195
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+
200201
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.":::
203204

204205
## Related content
205206

0 commit comments

Comments
 (0)