Skip to content

Commit 471503b

Browse files
authored
Merge pull request #202429 from AbbyMSFT/workbooks
Workbooks
2 parents 18747c4 + 6055cca commit 471503b

11 files changed

+315
-272
lines changed

.openpublishing.redirection.azure-monitor.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,16 @@
181181
"redirect_url": "/azure/azure-monitor/visualize/workbooks-overview",
182182
"redirect_document_id": false
183183
},
184+
{
185+
"source_path_from_root": "/articles/azure-monitor/visualize/workbooks-add-text.md",
186+
"redirect_url": "/azure/azure-monitor/visualize/workbooks-add-workbook-elements",
187+
"redirect_document_id": false
188+
},
189+
{
190+
"source_path_from_root": "/articles/azure-monitor/visualize/workbooks-combine-data.md",
191+
"redirect_url": "/azure/azure-monitor/visualize/workbooks-data-sources",
192+
"redirect_document_id": false
193+
},
184194
{
185195
"source_path_from_root": "/articles/azure-monitor/alerts/itsmc-service-manager-script.md",
186196
"redirect_url": "/azure/azure-monitor/alerts/itsmc-connections",

articles/azure-monitor/toc.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ items:
5656
- name: Azure portal
5757
displayName: Custom logs
5858
href: logs/tutorial-custom-logs.md
59-
- name: Resource manager templates
59+
- name: Resource Manager templates
6060
displayName: Custom logs
6161
href: logs/tutorial-custom-logs-api.md
6262
- name: Ingestion-time transformations
6363
items:
6464
- name: Azure portal
6565
displayName: Ingestion-time transformations
6666
href: logs/tutorial-ingestion-time-transformations.md
67-
- name: Resource manager templates
67+
- name: Resource Manager templates
6868
displayName: Ingestion-time transformations
6969
href: logs/tutorial-ingestion-time-transformations-api.md
7070
- name: Samples
@@ -1349,7 +1349,7 @@ items:
13491349
href: visualize/workbooks-overview.md
13501350
- name: Working with workbooks
13511351
items:
1352-
- name: Getting Started with workbooks
1352+
- name: Getting started with workbooks
13531353
href: visualize/workbooks-getting-started.md
13541354
- name: Data sources
13551355
href: visualize/workbooks-data-sources.md
@@ -1375,17 +1375,17 @@ items:
13751375
href: visualize/workbooks-honey-comb.md
13761376
- name: Composite bar
13771377
href: visualize/workbooks-composite-bar.md
1378-
- name: Workbook Result Limits
1378+
- name: Renderers
1379+
href: visualize/workbooks-renderers.md
1380+
- name: Workbook result limits
13791381
href: visualize/workbooks-limits.md
1380-
- name: Creating a new workbook
1382+
- name: Creating a workbook
13811383
items:
13821384
- name: Using workbook templates
13831385
href: visualize/workbooks-templates.md
1384-
- name: Create a new workbook
1386+
- name: Creating a new workbook
13851387
href: visualize/workbooks-create-workbook.md
1386-
- name: Add text to your workbook
1387-
href: visualize/workbooks-add-text.md
1388-
- name: Add parameters to your workbook
1388+
- name: Working with parameters
13891389
items:
13901390
- name: Workbook parameters
13911391
href: visualize/workbooks-parameters.md
@@ -1402,9 +1402,7 @@ items:
14021402
- name: Resource parameters
14031403
href: visualize/workbooks-resources.md
14041404
- name: Multi-value parameters
1405-
href: visualize/workbooks-multi-value.md
1406-
- name: Combine data from different sources
1407-
href: visualize/workbooks-combine-data.md
1405+
href: visualize/workbooks-multi-value.md
14081406
- name: Configuration
14091407
items:
14101408
- name: Deploy with Azure Resource Manager

articles/azure-monitor/visualize/workbooks-add-text.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

articles/azure-monitor/visualize/workbooks-combine-data.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

articles/azure-monitor/visualize/workbooks-create-workbook.md

Lines changed: 80 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Create an Azure Workbook
2+
title: Creating an Azure Workbook
33
description: Learn how to create an Azure Workbook.
44
services: azure-monitor
55
author: AbbyMSFT
@@ -9,24 +9,92 @@ ms.date: 05/30/2022
99
ms.reviewer: gardnerjr
1010
---
1111

12-
# Create an Azure Workbook
12+
# Creating an Azure Workbook
13+
This article describes how to create a new workbook and how to add elements to your Azure Workbook.
1314

1415
This video provides a walkthrough of creating workbooks.
1516

1617
> [!VIDEO https://www.microsoft.com/en-us/videoplayer/embed/RE4B4Ap]
1718
18-
## To create a new Azure Workbook
19+
## Create an Azure Workbook
1920
To create a new Azure workbook:
2021
1. From the Azure Workbooks page, select an empty template or select **New** in the top toolbar.
21-
1. Combine any of these steps to include the elements you want to the workbook:
22-
- [Add text to your workbook](workbooks-add-text.md)
23-
- [Add parameters to your workbook](workbooks-parameters.md)
24-
- Add queries to your workbook
25-
- [Combine data from different sources](workbooks-combine-data.md)
26-
- Add Metrics to your workbook
27-
- Add Links to your workbook
28-
- Add Groups to your workbook
29-
- Add more configuration options to your workbook
22+
1. Combine any of these elements to add to your workbook:
23+
- [Text](#text)
24+
- Parameters
25+
- [Queries](#queries)
26+
- Metrics
27+
- Links
28+
- Groups
29+
- Configuration options
30+
31+
## Text
32+
33+
Workbooks allow authors to include text blocks in their workbooks. The text can be human analysis of the telemetry, information to help users interpret the data, section headings, etc.
34+
35+
:::image type="content" source="media/workbooks-add-text/workbooks-text-example.png" alt-text="Screenshot of adding text to a workbook.":::
36+
37+
Text is added through a markdown control into which an author can add their content. An author can use the full formatting capabilities of markdown. These include different heading and font styles, hyperlinks, tables, etc. This allows authors to create rich Word- or Portal-like reports or analytic narratives. Text can contain parameter values in the markdown text, and those parameter references will be updated as the parameters change.
38+
39+
**Edit mode**:
40+
:::image type="content" source="media/workbooks-add-text/workbooks-text-control-edit-mode.png" alt-text="Screenshot showing adding text to a workbook in edit mode.":::
41+
42+
**Preview mode**:
43+
:::image type="content" source="media/workbooks-add-text/workbooks-text-control-edit-mode-preview.png" alt-text="Screenshot showing adding text to a workbook in preview mode.":::
44+
45+
### Add text to an Azure workbook
46+
1. Make sure you are in **Edit** mode. Add a query by doing any one of the following:
47+
- Select **Add**, and **Add text** below an existing element, or at the bottom of the workbook.
48+
- Select the ellipses (...) to the right of the **Edit** button next to one of the elements in the workbook, then select **Add** and then **Add text**.
49+
1. Enter markdown text into the editor field.
50+
1. Use the **Text Style** option to switch between plain markdown, and markdown wrapped with the Azure portal's standard info/warning/success/error styling.
51+
52+
> [!TIP]
53+
> Use this [markdown cheat sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) to see the different formatting options.
54+
55+
1. Use the Preview tab to see how your content will look. While editing, the preview will show the content inside a scrollable area to limit its size, but when displayed at runtime, the markdown content will expand to fill whatever space it needs, with out a scrollbar.
56+
1. Select **Done Editing**.
57+
58+
### Text styles
59+
These text styles are available:
60+
61+
| Style | Description |
62+
| --------- | --------------------------------------------------------------------------------------- |
63+
| plain| No other formatting is applied |
64+
|info| The portal's "info" style, with a `` or similar icon and blue background |
65+
|error| The portal's "error" style, with a `` or similar icon and red background |
66+
|success| The portal's "success" style, with a `` or similar icon and green background |
67+
|upsell| The portal's "upsell" style, with a `🚀` or similar icon and purple background |
68+
|warning| The portal's "warning" style, with a `` or similar icon and blue background |
69+
70+
71+
You can also choose a text parameter as the source of the style. The parameter value must be one of the above text values. The absence of a value, or any unrecognized value will be treated as `plain` style.
72+
73+
### Text style examples
74+
75+
**Info style example**:
76+
:::image type="content" source="media/workbooks-add-text/workbooks-text-control-edit-mode-preview.png" alt-text="Screenshot of adding text to a workbook in preview mode showing info style.":::
77+
78+
**Warning style example**:
79+
:::image type="content" source="media/workbooks-add-text/workbooks-text-example-warning.png" alt-text="Screenshot of a text visualization in warning style.":::
80+
81+
## Queries
82+
83+
Azure Workbooks allow you to query any of the supported workbook [data sources](workbooks-data-sources.md).
84+
85+
For example, you can query Azure Resource Health that helps you view any service problems affecting your resources, or you can query Azure Monitor Metrics, which are numeric data that is collected at regular intervals and describe some aspect of a system at a particular time.
86+
87+
### Add a query to an Azure Workbook
88+
89+
1. Make sure you are in **Edit** mode. Add a query by doing any one of the following:
90+
- Select **Add**, and **Add query** below an existing element, or at the bottom of the workbook.
91+
- Select the ellipses (...) to the right of the **Edit** button next to one of the elements in the workbook, then select **Add** and then **Add query**.
92+
1. Select the [Data source](workbooks-data-sources.md) for your query. The other fields are determined based on the data source you choose.
93+
1. Select any other values that are required based on the data source you selected.
94+
1. Select the [Visualization](workbooks-visualizations.md) for your workbook.
95+
1. In the query section, enter your query, or select from a list of sample queries by selecting **Samples**, and then edit the query to your liking.
96+
1. Select **Run Query**.
97+
1. When you are sure you have the query you want in your workbook, select **Done editing**.
3098

3199

32100
## Next steps

0 commit comments

Comments
 (0)