58d4164b6c
* Adds info about the doc viewer of Discover * Merges with the context view doc Co-authored-by: Gail Chappell <gail.chappell@elastic.co>
56 lines
2.3 KiB
Text
56 lines
2.3 KiB
Text
[[discover-view-document]]
|
|
== View a document
|
|
|
|
Once you've found a document of interest in *Discover*, you have two more ways to
|
|
view it: in a view by itself or in context with surrounding documents.
|
|
|
|
[float]
|
|
[[discover-view-single-document]]
|
|
=== View a single document
|
|
|
|
Access a single document so you can bookmark it and share the link.
|
|
|
|
. In the document table, click the expand icon (>).
|
|
. In the expanded view, click **View single document**.
|
|
+
|
|
You can view the document in two ways. The **Table** view displays the document fields row-by-row.
|
|
The **JSON** (JavaScript Object Notation) view allows you to look at how {es} returns the document.
|
|
+
|
|
[role="screenshot"]
|
|
image::images/discover-view-single-document.png[Discover single document view]
|
|
+
|
|
The link is valid for the time the document is available in Elasticsearch. To create a customized view of the document,
|
|
you can create <<external-plugin-development, your own plugin>>.
|
|
|
|
[float]
|
|
[[discover-view-surrounding-documents]]
|
|
=== View surrounding documents
|
|
|
|
To inspect the documents that occurred immediately before and after a document,
|
|
your index pattern must contain time-based events.
|
|
|
|
. In the document table, click the expand icon (>).
|
|
. In the expanded view, click **View surrounding documents**.
|
|
+
|
|
Documents are displayed using the same set of columns as the *Discover* view from which
|
|
the context was opened. The anchor document is highlighted in blue.
|
|
+
|
|
[role="screenshot"]
|
|
image::images/discover-context.png[Image showing context view feature, with anchor documents highlighted in blue]
|
|
+
|
|
The filters you applied in *Discover* are carried over to the context view. Pinned
|
|
filters remain active, while normal filters are copied in a disabled state.
|
|
+
|
|
[role="screenshot"]
|
|
image::images/discover-context-filters-inactive.png[Filter in context view]
|
|
|
|
. To find the documents of interest, add filters.
|
|
|
|
. To increase the number of documents that surround the anchor document, click *Load*.
|
|
By default, five documents are added with each click.
|
|
+
|
|
[role="screenshot"]
|
|
image::images/discover-context-load-newer-documents.png[Load button and the number of documents to load]
|
|
. To configure the number of documents to display and
|
|
the number of documents to load with each button click, go to *Stack Management > Advanced Settings*
|
|
and edit the <<kibana-discover-settings, context settings>>.
|