Skip to content

Commit c6d1f3d

Browse files
[ON Week] review and fix Vale checks corrected by Cursor (#3884)
reviews and fixes Vale checks corrected by Cursor only for the `_snippets` and the `discover` folders under `Explore and Analyze` section. Targeted fixes are mostly for all warnings. --------- Co-authored-by: florent-leborgne <[email protected]>
1 parent 71fc078 commit c6d1f3d

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

explore-analyze/_snippets/global-filters.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
You can interact with filter pills to edit them, temporarily alter their behavior without having to delete them, or make them available in other contexts. The following options are available when selecting a filter pill:
1+
You can interact with filter pills to edit them, temporarily alter their behavior without having to remove them, or make them available in other contexts. The following options are available when selecting a filter pill:
22

33
**Pin across all apps** and **Unpin**
4-
: Adds this filter to available dashboards and to apps such as **Discover**, **Lens**, **Maps**, and **Visualize**. The filter is removed if you:
4+
: Adds this filter to available dashboards and to apps such as **Discover**, **Lens**, **Maps**, and **Visualize**. You remove the filter if you:
55
* Unpin it. In this case, the filter only remains on the currently open app, unpinned.
66
* Remove it from any place while it's still pinned.
77
* Refresh your session, for example by opening a dashboard in a new tab. Pinned filters are not saved along with the dashboard, visualization, or Discover session that you added them to.
@@ -17,9 +17,9 @@ You can interact with filter pills to edit them, temporarily alter their behavio
1717
: Reverses the filter behavior.
1818

1919
**Temporarily disable** and **Re-enable**
20-
: Lets you temporarily disable a filter instead of requiring you to delete it. This is particularly useful for testing different filter combinations.
20+
: Lets you temporarily deactivate a filter instead of requiring you to remove it. This is particularly useful for testing different filter combinations.
2121

2222
**Delete**
23-
: Deletes the filter.
23+
: Removes the filter.
2424

2525
You can perform most of these actions at once for all filters in your current view using the **Filter** icon {icon}`filter`. From the menu that opens, select **Apply to all**, then choose the action you'd like to perform.

explore-analyze/_snippets/inspect-request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The request **Inspector** is available in **Discover** and for all **Dashboards** visualization panels that are built based on a query. The available information can differ based on the request.
1+
The request **Inspector** is available in **Discover** and for all **Dashboards** visualization panels that are built from a query. The available information can differ based on the request.
22

33
1. Open the **Inspector**:
44
- If you're in **Discover**, select **Inspect** from the application's toolbar.
@@ -8,7 +8,7 @@ The request **Inspector** is available in **Discover** and for all **Dashboards*
88
:::{tip}
99
Some visualizations rely on several requests. From the dropdown, select the request you want to inspect.
1010
:::
11-
* **Statistics**: Provides general information and statistics about the request. For example, you can check if the number of hits and query time match your expectations. If not, this may indicate an issue with the request used to build the visualization.
11+
* **Statistics**: Provides general information and statistics about the request. For example, you can check if the number of hits and query time match your expectations. If not, this can indicate an issue with the request used to build the visualization.
1212
* **Clusters and shards**: Lists the {{es}} clusters and shards per cluster queried to fetch the data and shows the status of the request on each of them. With the information in this tab, you can check if the request is properly executed, especially in case of cross-cluster search.
1313

1414
:::{note}

explore-analyze/_snippets/variable-control-procedure.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
1. While you edit your {{esql}} query, the autocomplete menu suggests adding a control when relevant or when you type `?` in the query. Select **Create control**.
22

3-
![ESQL query prompting to add a control](/explore-analyze/images/esql-visualization-control-suggestion.png " =40%")
3+
![{{esql}} query prompting to add a control](/explore-analyze/images/esql-visualization-control-suggestion.png " =40%")
44

55
2. A menu opens to let you configure the control. This is where you can specify:
66

77
* The type of the control.
88
* For controls with **Static values**, enter available controls manually or select them from the dropdown list.
99
* For controls with **Values from a query**, write an {{esql}} query to populate the list of options.
10-
* The name of the control. This name is used to reference the control in {{esql}} queries.
10+
* The name of the control. You use this name to reference the control in {{esql}} queries.
1111
* Start the name with `?` if you want the options to be simple static values.
1212
* Start the name with `??` if you want the options to be fields or functions. {applies_to}`stack: ga 9.1`
1313
* The values users can select for this control. You can add multiple values from suggested fields, or type in custom values. If you selected **Values from a query**, you must instead write an {{esql}} query at this step.
1414
* The label of the control. This is the label displayed in **Discover** or in the dashboard.
1515
* The width of the control.
1616
* Whether the control should allow selecting a single value or multiple values. This [requires using the `MV_CONTAINS` function in your query](#esql-multi-values-controls). {applies_to}`stack: preview 9.3` {applies_to}`serverless: preview`
1717

18-
![ESQL control settings](/explore-analyze/images/esql-visualization-control-settings.png "title =40%")
18+
![{{esql}} control settings](/explore-analyze/images/esql-visualization-control-settings.png "title =40%")
1919

2020
3. Save the control.
2121

explore-analyze/discover/discover-get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ You can later filter the data that shows in the chart and in the table by specif
8787

8888
**Discover** provides utilities designed to help you make sense of your data:
8989

90-
1. In the sidebar, check the available fields. It’s very common to have hundreds of fields. Use the search at the top of that sidebar to look for specific terms in the field names.
90+
1. In the sidebar, check the available fields. It's common to have hundreds of fields. Use the search at the top of that sidebar to look for specific terms in the field names.
9191
In this example, we’ve entered `ma` in the search field to find the `manufacturer` field.
9292
![Fields list that displays the top five search results](/explore-analyze/images/kibana-discover-sidebar-available-fields.png "title =40%")
9393
::::{tip}
@@ -237,7 +237,7 @@ Dive into an individual document to view its fields and the documents that occur
237237
* You can pin some fields by clicking the left column to keep them displayed even if you filter the table.
238238

239239
::::{tip}
240-
You can restrict the fields listed in the detailed view to just the fields that you explicitly added to the **Discover** table, using the **Selected only** toggle. In ES|QL mode, you also have an option to hide fields with null values. This toggle isn't available from the **View single document** page.
240+
You can restrict the fields listed in the detailed view to the fields that you explicitly added to the **Discover** table, using the **Selected only** toggle. In ES|QL mode, you also have an option to hide fields with null values. This toggle isn't available from the **View single document** page.
241241
::::
242242

243243
3. To navigate to a view of the document that you can bookmark and share, select **View single document**.
@@ -297,7 +297,7 @@ You can use **Discover** with the Elasticsearch Query Language, ES|QL. When usin
297297
You can switch to the ES|QL mode of Discover from the application menu bar.
298298
If you've entered a KQL or Lucene query in the default mode of Discover, it automatically converts to ES|QL.
299299

300-
Note that in ES|QL mode, the **Documents** tab is named **Results**.
300+
In ES|QL mode, the **Documents** tab is named **Results**.
301301

302302
:::{important}
303303
{applies_to}`stack: ga 9.1` When an ES|QL query times out, partial results that are available are shown. The timeout is defined by the `search:timeout` advanced setting, which is set to 10 minutes (600000 ms) by default. In serverless projects, this advanced setting is not customizable and the timeout is set to 10 minutes.

explore-analyze/discover/discover-search-for-relevance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This example shows how to use **Discover** to list your documents from most rele
2828
4. From the list of **Meta fields** list in the sidebar, add `_score`.
2929
5. Add any other fields you want to the document table.
3030

31-
At this point, youre sorting by the`timestamp` field.
31+
You're sorting by the`timestamp` field.
3232

3333
6. To turn off sorting by the `timestamp` field, click the **field sorted** option, and then click **Clear sorting.**
3434
7. Open the **Pick fields to sort by** menu, and then click **_score**.

explore-analyze/discover/document-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Change how {{kib}} displays a field.
100100

101101
### Filter the documents [document-explorer-compare-data]
102102

103-
Narrow your results to a subset of documents so youre comparing just the data of interest.
103+
Narrow your results to a subset of documents so you're comparing the data of interest.
104104

105105
1. Select the documents you want to compare.
106106
2. Click the **Selected** option, and then select **Show selected documents only**.

explore-analyze/discover/try-esql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To load the sample data:
4747
| KEEP machine.os, machine.ram <2>
4848
```
4949
50-
1. Were specifically looking for data from the sample web logs we just installed.
50+
1. We're specifically looking for data from the sample web logs we installed.
5151
2. We’re only keeping the `machine.os` and `machine.ram` fields in the results table.
5252
5353
::::{note}

0 commit comments

Comments
 (0)