[DOCS] Adds doc on field statistics in Discover (#121582)

* [DOCS] Adds doc on field statistics in Discover

* [DOCS] Updates images in field statistics doc

* [DOCS] Incorporates review comments

* [DOCS] Updates images

* [DOCS] Reordered nav for Discover

* [DOCS] Updates images in field statistics doc

* Update docs/discover/field-statistics.asciidoc

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

* Update docs/discover/field-statistics.asciidoc

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

* Update docs/discover/field-statistics.asciidoc

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

* Update docs/discover/field-statistics.asciidoc

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

* Update docs/discover/field-statistics.asciidoc

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

* Update docs/discover/field-statistics.asciidoc

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

* Update docs/discover/field-statistics.asciidoc

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

* [DOCS] Incorporates review comments

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-01-24 15:50:05 -08:00 committed by GitHub
parent d55fd9bb11
commit 4610f44747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,58 @@
[[show-field-statistics]]
== Explore the fields in your data
beta::[]
Explore the fields in your data with the *Field statistics* view in *Discover* and
answer such questions as:
* What does the latency
look like when one of the containers is down on a Sunday?
* Is the field type and format in the data view appropriate
for the data and its cardinality?
This example explores the fields in
the <<gs-get-data-into-kibana, sample web logs data>>, or you can use your own data.
. Open the main menu, click *Stack Managment > Advanced Settings*, search for *Show field statistics*,
and turn on the setting.
. Open the main menu, click *Discover*, 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*.
. Click *Field statistics*.
+
The table summarizes how many documents in the sample contain each field for the selected time period
the number of distinct values, and the distribution.
+
[role="screenshot"]
image::images/field-statistics-view.png["Field statistics view in Discover showing a summary of document data."]
. Expand the `hour_of_day` field.
+
For numeric fields, *Discover* provides the
document statistics, minimum, median, and
maximum values, a list of top values, and a distribution chart.
Use this chart to get a better idea of how the values
in the data are clustered.
+
[role="screenshot"]
image::images/field-statistics-numeric.png["Field statistics for a numeric field."]
. Expand the `geo.coordinates` field.
+
For geo fields, *Discover* provides the document statistics,
examples, and a map of the coordinates.
+
[role="screenshot"]
image::images/field-statistics-geo.png["Field statistics for a geo field."]
. Explore additional field types to see the statistics that *Discover* provides.
. To create a visualization of the field data, click
image:images/chart-icon.png[Click the magnifying glass icon to create a visualization of the data in Lens]
or
image:images/map-icon.png[Click the Maps icon to explore the data in a map]
in the *Actions* column.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -283,3 +283,5 @@ include::{kib-repo-dir}/discover/search-for-relevance.asciidoc[]
include::{kib-repo-dir}/discover/save-search.asciidoc[]
include::{kib-repo-dir}/discover/search-sessions.asciidoc[]
include::{kib-repo-dir}/discover/field-statistics.asciidoc[]