You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: explore-analyze/find-and-organize/data-views.md
+8-19Lines changed: 8 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,17 +13,6 @@ products:
13
13
14
14
# Data views [data-views]
15
15
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
-
27
16
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.
28
17
29
18
::::{note}
@@ -176,15 +165,15 @@ Deleting a {{data-source}} breaks all visualizations, saved Discover sessions, a
176
165
2. Find the {{data-source}} that you want to delete, and then click  in the **Actions** column.
177
166
178
167
179
-
## {{data-source}} field cache [data-view-field-cache]
168
+
## Data view field cache [data-view-field-cache]
180
169
181
170
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.
182
171
183
172
The field list may be impacted by changes in indices and user permissions.
184
173
185
174
## Manage data views [managing-data-views]
186
175
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.
188
177
189
178
190
179
### Explore your data with runtime fields [runtime-fields]
@@ -347,9 +336,9 @@ doc['field_name'].value
347
336
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)
348
337
349
338
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]
351
340
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.
353
342
354
343
355
344
##### Scripted field [scripted-field-example]
@@ -463,9 +452,9 @@ Built-in validation is unsupported for scripted fields. When your scripts contai
463
452
464
453
465
454
466
-
### Format data fields [managing-fields]
455
+
### Format data view fields [managing-fields]
467
456
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.
469
458
470
459
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).
471
460
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
474
463
5. Select **Set format**, then enter the **Format** for the field.
475
464
476
465
::::{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%.
478
467
::::
479
468
480
469
@@ -699,4 +688,4 @@ Some data views are exclusively configured and **managed** by Elastic. You can v
699
688
700
689
4. Select **Duplicate**. A Similar flyout opens where you can adjust the settings of the new copy of the managed data view.
701
690
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