Skip to content

Commit b67c466

Browse files
Fix duplicated anchors and a few terms in data views docs (#3925)
Fixes: #3924
1 parent e174fa0 commit b67c466

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

explore-analyze/find-and-organize/data-views.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@ products:
1313

1414
# Data views [data-views]
1515

16-
$$$field-formatters-numeric$$$
17-
18-
$$$managing-fields$$$
19-
20-
$$$runtime-fields$$$
21-
22-
$$$management-cross-cluster-search$$$
23-
24-
$$$data-views-read-only-access$$$
25-
26-
2716
By default, analytics features such as Discover require a {{data-source}} to access the {{es}} data that you want to explore. A {{data-source}} can point to one or more indices, [data streams](../../manage-data/data-store/data-streams.md), or [index aliases](/manage-data/data-store/aliases.md). For example, a {{data-source}} can point to your log data from yesterday, or all indices that contain your data.
2817

2918
::::{note}
@@ -176,15 +165,15 @@ Deleting a {{data-source}} breaks all visualizations, saved Discover sessions, a
176165
2. Find the {{data-source}} that you want to delete, and then click ![Delete icon](/explore-analyze/images/kibana-delete.png "") in the **Actions** column.
177166

178167

179-
## {{data-source}} field cache [data-view-field-cache]
168+
## Data view field cache [data-view-field-cache]
180169

181170
The browser caches {{data-source}} field lists for increased performance. This is particularly impactful for {{data-sources}} with a high field count that span a large number of indices and clusters. The field list is updated every couple of minutes in typical {{kib}} usage. Alternatively, use the refresh button on the {{data-source}} management detail page to get an updated field list. A force reload of {{kib}} has the same effect.
182171

183172
The field list may be impacted by changes in indices and user permissions.
184173

185174
## Manage data views [managing-data-views]
186175

187-
To customize the data fields in your data view, you can add runtime fields to the existing documents, add scripted fields to compute data on the fly, and change how {{kib}} displays the data fields.
176+
To customize the fields in your data view, you can add runtime fields to the existing documents, add scripted fields to compute data on the fly, and change how {{kib}} displays the data view fields.
188177

189178

190179
### Explore your data with runtime fields [runtime-fields]
@@ -347,9 +336,9 @@ doc['field_name'].value
347336
For more information on scripted fields and additional examples, refer to [Using Painless in {{kib}} scripted fields](https://www.elastic.co/blog/using-painless-kibana-scripted-fields)
348337

349338

350-
#### Migrate to runtime fields or ES|QL queries [migrate-off-scripted-fields]
339+
#### Migrate to runtime fields or {{esql}} queries [migrate-off-scripted-fields]
351340

352-
The following code snippets demonstrate how an example scripted field called `computed_values` on the Kibana Sample Data Logs data view could be migrated to either a runtime field or an ES|QL query, highlighting the differences between each approach.
341+
The following code snippets demonstrate how an example scripted field called `computed_values` on the Kibana Sample Data Logs data view could be migrated to either a runtime field or an {{esql}} query, highlighting the differences between each approach.
353342

354343

355344
##### Scripted field [scripted-field-example]
@@ -463,9 +452,9 @@ Built-in validation is unsupported for scripted fields. When your scripts contai
463452

464453

465454

466-
### Format data fields [managing-fields]
455+
### Format data view fields [managing-fields]
467456

468-
{{kib}} uses the same field types as {{es}}, however, some {{es}} field types are unsupported in {{kib}}. To customize how {{kib}} displays data fields, use the formatting options.
457+
{{kib}} uses the same field types as {{es}}, however, some {{es}} field types are unsupported in {{kib}}. To customize how {{kib}} displays data view fields, use the formatting options.
469458

470459
1. Go to the **Data Views** management page using the navigation menu or the [global search field](../../explore-analyze/find-and-organize/find-apps-and-objects.md).
471460
2. Click the data view that contains the field you want to change.
@@ -474,7 +463,7 @@ Built-in validation is unsupported for scripted fields. When your scripts contai
474463
5. Select **Set format**, then enter the **Format** for the field.
475464

476465
::::{note}
477-
For numeric fields the default field formatters are based on the `meta.unit` field. The unit is associated with a [time unit](elasticsearch://reference/elasticsearch/rest-apis/api-conventions.md#time-units), percent, or byte. The convention for percents is to use value 1 to mean 100%.
466+
For numeric fields, the default field formatters are based on the `meta.unit` field. The unit is associated with a [time unit](elasticsearch://reference/elasticsearch/rest-apis/api-conventions.md#time-units), percent, or byte. The convention for percents is to use value 1 to mean 100%.
478467
::::
479468

480469

@@ -699,4 +688,4 @@ Some data views are exclusively configured and **managed** by Elastic. You can v
699688

700689
4. Select **Duplicate**. A Similar flyout opens where you can adjust the settings of the new copy of the managed data view.
701690

702-
5. Finalize your edits, then select **Save data view to Kibana** or **Use without saving**, depending on your needs. By saving it to {{kib}}, you can retrieve it and use it again later.
691+
5. Finalize your edits, then select **Save data view to Kibana** or **Use without saving**, depending on your needs. By saving it to {{kib}}, you can retrieve it and use it again later.

0 commit comments

Comments
 (0)