Skip to content

Commit 3f81a80

Browse files
committed
fixed blocking issues
1 parent ab8e088 commit 3f81a80

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

articles/azure-monitor/visualize/workbooks-commonly-used-components.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You can also pin this grid to a dashboard using the **Pin to dashboard** button
5555
5656
## Capturing input to use in a query
5757
58-
You may want to capture user input using drop down lists and use the selection in your queries. For example, you can have a drop down to accept a set of virtual machines and then filter your KQL to include just the selected machines. In most cases, this is as simple as including the parameter's value in the query:
58+
You may want to capture user input using drop-down lists and use the selection in your queries. For example, you can have a drop-down to accept a set of virtual machines and then filter your KQL to include just the selected machines. In most cases, this is as simple as including the parameter's value in the query:
5959
6060
```sql
6161
Perf
@@ -72,15 +72,15 @@ In more advanced scenarios, you may need to transform the parameter results befo
7272
}
7373
```
7474

75-
The following example shows how to enable this scenario: Let's say you want the values of the `OSFamily` and `ComplianceState` filters to come from drop downs in the workbook. The filter could include multiple values as in the `OsFamily` case above. It needs to also support the case where the user wants to include all dimension values, that is to say, with no filters.
75+
The following example shows how to enable this scenario: Let's say you want the values of the `OSFamily` and `ComplianceState` filters to come from drop-downs in the workbook. The filter could include multiple values as in the `OsFamily` case above. It needs to also support the case where the user wants to include all dimension values, that is to say, with no filters.
7676

7777
### Setup parameters
7878

7979
1. Create a new empty workbook and [add a parameter component](workbooks-create-workbook.md#add-a-parameter-to-an-azure-workbook).
8080
1. Select **Add parameter** to create a new parameter. Use the following settings:
8181
- Parameter name: `OsFilter`
8282
- Display name: `Operating system`
83-
- Parameter type: `Drop down`
83+
- Parameter type: `drop-down`
8484
- Allow multiple selections: `Checked`
8585
- Delimiter: `or` (with spaces before and after)
8686
- Quote with: `<empty>`
@@ -92,14 +92,14 @@ The following example shows how to enable this scenario: Let's say you want the
9292
{ "value": "OSFamily eq 'OS X'", "label": "OS X" }
9393
]
9494
```
95-
- In the **Include in the drop down** section:
95+
- In the **Include in the drop-down** section:
9696
- Select **All**
9797
- Select All Value: `OSFamily ne '#@?'`
9898
- Use the `Save` button in the toolbar to save this parameter.
9999
1. Add another parameter with these settings:
100100
- Parameter name: `ComplianceStateFilter`
101101
- Display name: `Complaince State`
102-
- Parameter type: `Drop down`
102+
- Parameter type: `drop-down`
103103
- Allow multiple selections: `Checked`
104104
- Delimiter: `or` (with spaces before and after)
105105
- Quote with: `<empty>`
@@ -111,7 +111,7 @@ The following example shows how to enable this scenario: Let's say you want the
111111
{ "value": "ComplianceState eq 'Non-compliant'", "label": "Non compliant" }
112112
]
113113
```
114-
- In the **Include in the drop down** section:
114+
- In the **Include in the drop-down** section:
115115
- Select **All**
116116
- Select All Value: `ComplianceState ne '#@?'`
117117
- Use the `Save` button in the toolbar to save this parameter.
@@ -127,10 +127,10 @@ The following example shows how to enable this scenario: Let's say you want the
127127

128128

129129
This screenshot shows the parameter settings:
130-
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-settings.png" alt-text="Screenshot showing parameter settings for drop down lists with parameter values.":::
130+
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-settings.png" alt-text="Screenshot showing parameter settings for drop-down lists with parameter values.":::
131131

132132
### Single Filter Value
133-
The simplest case is the selection of a single filter value in each of the dimensions. The drop down control uses Json input field's value as the parameter's value.
133+
The simplest case is the selection of a single filter value in each of the dimensions. The drop-down control uses Json input field's value as the parameter's value.
134134

135135
```json
136136
{
@@ -139,7 +139,7 @@ The simplest case is the selection of a single filter value in each of the dimen
139139
}
140140
```
141141

142-
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-single-select.png" alt-text="Screenshot showing a drop down lists with parameter values and a single value selected.":::
142+
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-single-select.png" alt-text="Screenshot showing a drop-down lists with parameter values and a single value selected.":::
143143

144144
### Multiple Filter Values
145145
If the user chooses multiple filter values (e.g. both Android and OS X operating systems), then parameters `Delimiter` and `Quote with` settings kicks in and produces this compound filter:
@@ -151,16 +151,16 @@ If the user chooses multiple filter values (e.g. both Android and OS X operating
151151
}
152152
```
153153

154-
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-multi-select.png" alt-text="Screenshot showing a drop down lists with parameter values and multiple values selected.":::
154+
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-multi-select.png" alt-text="Screenshot showing a drop-down lists with parameter values and multiple values selected.":::
155155

156156
### No Filter Case
157-
Another common case is having no filter for that dimension. This is equivalent to including all values of the dimensions as part of the result set. The way to enable it is by having an `All` option on the drop down and have it return a filter expression that always evaluates to `true` (e.g. _ComplianceState eq '#@?'_).
157+
Another common case is having no filter for that dimension. This is equivalent to including all values of the dimensions as part of the result set. The way to enable it is by having an `All` option on the drop-down and have it return a filter expression that always evaluates to `true` (e.g. _ComplianceState eq '#@?'_).
158158

159159
```json
160160
{
161161
"name": "deviceComplianceTrend",
162162
"filter": "(OSFamily eq 'OS X' or OSFamily eq 'Android') and (ComplianceState ne '#@?')"
163163
}
164164
```
165-
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-no-select.png" alt-text="Screenshot showing a drop down lists with parameter values and no filter selected.":::
165+
:::image type="content" source="media/workbooks-samples/workbooks-odata-parameters-no-select.png" alt-text="Screenshot showing a drop-down lists with parameter values and no filter selected.":::
166166

articles/azure-monitor/visualize/workbooks-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The workbooks settings has these tabs to help you configure your workbook.
2222
|Resources|This tab contains the resources that appear as default selections in this workbook.<br>The resource marked as the **Owner** resource is where the workbook will be saved, and the location of the workbooks and templates you'll see when browsing. The owner resource can't be removed.<br> You can add a default resource by selecting **Add Resources**. You can remove resources by selecting a resource or several resources, and selecting **Remove Selected Resources**. When you're done adding and removing resources, select **Apply Changes**.|
2323
|Versions| This tab contains a list of all the available versions of this workbook. Select a version and use the toolbar to compare, view, or restore versions. Previous workbook versions are available for 90 days.<br><ul><li>**Compare**: Compare the JSON of the previous workbook to the most recently saved version.</li><li>**View**: Opens the selected version of the workbook in a context pane.</li><li>**Restore**: Saves a new copy of the workbook with the contents of the selected version and overwrites any existing current content. You'll be prompted to confirm this action.</li></ul><br>|
2424
|Style |In this tab, you can set a padding and spacing style for the whole workbook. The possible options are `Wide`, `Standard`, `Narrow`, `None`. `Standard` is the default style setting.|
25-
|Pin |While in pin mode, you can select **Pin Workbook** to pin an component from this workbook to a dashboard. Select **Link to Workbook**, to pin a static link to this workbook on your dashboard. You can choose a specific component in your workbook to pin.|
25+
|Pin |While in pin mode, you can select **Pin Workbook** to pin a component from this workbook to a dashboard. Select **Link to Workbook**, to pin a static link to this workbook on your dashboard. You can choose a specific component in your workbook to pin.|
2626
|Trusted hosts |In this tab, you can enable a trusted source or mark this workbook as trusted in this browser. See [trusted hosts](#trusted-hosts) for detailed information. |
2727

2828
> [!NOTE]

0 commit comments

Comments
 (0)