[DOCS] Updates Discover docs with data view changes (#138337)

* [DOCS] Updates Discover docs with data view changes

* [DOCS] Updates settings for Discover in Advanced Settings

* Update docs/discover/document-explorer.asciidoc

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* Update docs/management/advanced-options.asciidoc

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
This commit is contained in:
gchaps 2022-08-17 09:33:50 -07:00 committed by GitHub
parent 69ef96fb76
commit 062c06d46f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 33 additions and 25 deletions

View file

@ -65,7 +65,7 @@ based on different timestamps.
. To specify your own {data-source} name, click *Show advanced settings*, then enter the name in the *Custom {data-source} ID* field. For example, enter your {es} index alias name.
. Click *Create {data-source}*.
. Click *Save {data-source} to {kib}*.
+
[[reload-fields]] {kib} is now configured to use your {es} data. When a new field is added to an index,
the {data-source} field list is updated
@ -149,4 +149,4 @@ WARNING: Deleting a {data-source} breaks all visualizations, saved searches, and
. Open the main menu, then click *Stack Management > Data Views*.
. Find the {data-source} that you want to delete, and then
click (image:management/index-patterns/images/delete.png[Delete icon]) in the *Actions* column.
click image:management/index-patterns/images/delete.png[Delete icon] in the *Actions* column.

View file

@ -27,13 +27,13 @@ data-type="inline"
Use drag and drop to organize the columns and improve the view of the data.
To reorder columns, do one of the following:
* To move a single column, click its header. In the dropdown menu,
click *Move left* or *Move right*.
* Click *Columns*. In the pop-up, select the column you want to move and drag it to the new location.
* To move multiple columns, click *Columns*.
In the pop-up, drag the column names to their new order.
* Click the header of the column you want to move. In the dropdown menu, click *Move left* or *Move right*.
To resize a column, drag the right edge of the column header until the column is the width that you want.
* To resize a column, drag the right edge of the column header until the column is the width that you want.
Column widths are stored with a saved search. When you visualize saved searches on dashboards, the saved search appears the same as in **Discover**.
@ -104,7 +104,7 @@ You can view the document in two ways. The **Table** view displays the document
The **JSON** (JavaScript Object Notation) view allows you to look at how {es} returns the document.
+
[role="screenshot"]
image::images/document-explorer-expand.png[Expanded view of the document table]
image::images/document-table-expanded.png[Expanded view of the document table]
+
. In the *Table* view, scan through the fields and their values, or search for a field by name.
@ -152,4 +152,4 @@ By default, the document table displays 100 rows per page. To change this number
click *Rows per page*.
[role="screenshot"]
image::images/document-table-rows-per-page.png["Menu with options for setting the number of rows in the document table", width=50%]
image::images/document-table-rows-per-page.png["Menu with options for setting the number of rows in the document table"]

View file

@ -16,7 +16,7 @@ the <<gs-get-data-into-kibana, sample web logs data>>, or you can use your own d
. Open the main menu, and click *Discover*.
. Expand the {data-source} dropdown, and select *kibana_sample_data_logs*.
. Expand the {data-source} dropdown, and select *Kibana Sample Data Logs*.
. If you dont see any results, expand the time range, for example, to *Last 7 days*.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 274 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 KiB

After

Width:  |  Height:  |  Size: 226 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 229 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 KiB

After

Width:  |  Height:  |  Size: 512 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 335 KiB

After

Width:  |  Height:  |  Size: 291 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

After

Width:  |  Height:  |  Size: 273 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

After

Width:  |  Height:  |  Size: 271 KiB

Before After
Before After

View file

@ -10,7 +10,7 @@ the <<gs-get-data-into-kibana, sample flights data set>>, or you can use your ow
. In *Discover*, open the {data-source} dropdown, and select the data that you want to work with.
+
For the sample flights data, set the {data-source} to *kibana_sample_data_flights*.
For the sample flights data, set the {data-source} to *Kibana Sample Data Flights*.
. Run your search. For the sample data, try:
+
@ -32,4 +32,4 @@ image::images/field-sorting-popover.png["Field sorting popover", width=60%]
Your table now sorts documents from most to least relevant.
+
[role="screenshot"]
image::images/discover-search-for-relevance.png["Documents are sorted from most relevant to least relevant.", width=75%]
image::images/discover-search-for-relevance.png["Documents are sorted from most relevant to least relevant."]

View file

@ -286,8 +286,8 @@ in the current data view is used.
The columns that appear by default on the *Discover* page. The default is
`_source`.
[[discover-samplesize]]`discover:sampleSize`::
The number of rows to show in the *Discover* table.
[[discover:enableSql]]`discover:enableSql`::
experimental[] Allows SQL queries for search.
[[discover-max-doc-fields-displayed]]`discover:maxDocFieldsDisplayed`::
Specifies the maximum number of fields to show in the document column of the *Discover* table.
@ -295,11 +295,14 @@ Specifies the maximum number of fields to show in the document column of the *Di
[[discover-modify-columns-on-switch]]`discover:modifyColumnsOnSwitch`::
When enabled, removes the columns that are not in the new data view.
[[discover-sample-size]]`discover:sampleSize`::
Specifies the number of rows to display in the *Discover* table.
[[discover-row-height-option]]`discover:rowHeightOption`::
The number of lines to allow in a row. A value of -1 automatically adjusts the row height to fit the contents. A value of 0 displays the content in a single line.
[[discover-sampleRowsPerPage]]`discover:sampleRowsPerPage`::
Specifies the number of rows to display per page in the *Discover* table.
Limits the number of rows per page in the document table.
[[discover-sample-size]]`discover:sampleSize`::
Sets the maximum number of rows for the entire document table. This is the maximum number of documents fetched from {es}.
[[discover-searchFieldsFromSource]]`discover:searchFieldsFromSource`::
Load fields from the original JSON {ref}/mapping-source-field.html[`_source`].
@ -310,8 +313,12 @@ When disabled, *Discover* loads fields using the {es} search API's
Controls whether a search is executed when *Discover* first loads. This setting
does not have an effect when loading a saved search.
[[discover:showFieldStatistics]]`discover:showFieldStatistics`::
beta[] Enables the Field statistics view. Examine details such as
the minimum and maximum values of a numeric field or a map of a geo field.
[[discover:showMultiFields]]`discover:showMultiFields`::
When enabled, displays multi-fields in the expanded document view.
Controls the display of multi-fields in the expanded document view.
[[discover-sort-defaultorder]]`discover:sort:defaultOrder`::
The default sort direction for time-based data views.
@ -319,9 +326,6 @@ The default sort direction for time-based data views.
[[doctable-hidetimecolumn]]`doc_table:hideTimeColumn`::
Hides the "Time" column in *Discover* and in all saved searches on dashboards.
[[discover:enableSql]]`discover:enableSql`::
When enabled, allows SQL queries for search.
[[doctable-highlight]]`doc_table:highlight`::
Highlights results in *Discover* and saved searches on dashboards. Highlighting
slows requests when working on big documents.
@ -331,6 +335,10 @@ Controls the way the document table looks and works.
To use the new *Document Explorer* instead of the classic view, turn off this option.
The *Document Explorer* offers better data sorting, resizable columns, and a full screen view.
[[truncate-max-height]]`truncate:maxHeight`::
The maximum height that a cell in a table can occupy. To disable truncation, set to 0.
[float]
[[kibana-ml-settings]]
==== Machine Learning

View file

@ -54,7 +54,7 @@ Tell {kib} where to find the data you want to explore, and then specify the time
+
{kib} uses a <<data-views,{data-source}>> to tell it where to find
your {es} data.
To view the ecommerce sample data, open the {data-source} menu, and select **kibana_sample_data_ecommerce**.
To view the ecommerce sample data, open the {data-source} menu, and then select **Kibana Sample Data Ecommerce**.
+
[role="screenshot"]
image::images/discover-data-view.png[How to set the {data-source} in Discover, width=50%]
@ -118,7 +118,7 @@ You can add a runtime field to your {data-source} from inside of **Discover**,
and then use that field for analysis and visualizations,
the same way you do with other fields.
. Open the data view menu, and then click *Add a field to this data view*.
. In the sidebar, click *Add a field*.
. In the *Create field* form, enter `hello` for the name.
@ -191,7 +191,7 @@ and more.
Exclude documents where day of week is not Wednesday:
. Click image:images/add-icon.png[Add icon] to the left of the query bar.
. Click image:images/add-icon.png[Add icon] next to the query bar.
. In the *Add filter* pop-up, set *Field* to *day_of_week*, *Operator* to *is not*, and *Value* to *Wednesday*.
+
[role="screenshot"]
@ -289,7 +289,7 @@ The *Create rule* form is pre-filled with the latest query sent to {es}.
. Click *Save*.
For more about this and other rules provided in {kib} {alert-features}, go to <<alerting-getting-started>>.
For more about this and other rules provided in {alert-features}, go to <<alerting-getting-started>>.
[float]