kibana/docs/discover/save-search.asciidoc
gchaps 8ec6582f21
[DOCS] Updates Discover docs for 8.5 (#142021)
* [DOCS] Updates Discover docs for 8.5

* [DOCS] Adds resize for chart and updates images

* [DOCS] Incorporates review comments

* Update docs/discover/document-explorer.asciidoc

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

* Update docs/discover/document-explorer.asciidoc

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

* Update docs/discover/document-explorer.asciidoc

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

* Update docs/discover/document-explorer.asciidoc

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

* Update docs/discover/document-explorer.asciidoc

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

* Update docs/discover/document-explorer.asciidoc

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

* Update docs/user/discover.asciidoc

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

* [DOCS] Incorporates review comments

* Update docs/discover/search-for-relevance.asciidoc

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

* [DOCS] Incorporated review comments

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2022-10-10 15:21:23 -07:00

38 lines
1.7 KiB
Text

[[save-open-search]]
== Save a search for reuse
A saved search is a convenient way to reuse a search
that you've created in *Discover*.
Saved searches are good for adding search results to a dashboard,
and can also serve as a foundation for building visualizations.
[role="xpack"]
[[discover-read-only-access]]
[float]
=== Read-only access
If you don't have sufficient privileges to save searches, the following indicator is
displayed and the *Save* button is not visible. For more information, refer to <<xpack-security-authorization>>.
[role="screenshot"]
image::discover/images/read-only-badge.png[Example of Discover's read only access indicator in Kibana's header]
[float]
=== Save a search
By default, a saved search stores the query text, filters, and
current view of *Discover*, including the columns and sort order in the document table, and the {data-source}.
. Once you've created a search worth saving, click *Save* in the toolbar.
. Enter a name for the search.
. Optionally store <<managing-tags,tags>> and the time range with the search.
. Click *Save*.
. To reload your search results in *Discover*, click *Open* in the toolbar, and select the saved search.
+
If the saved search is associated with a different {data-source} than is currently
selected, opening the saved search changes the selected {data-source}. The query language
used for the saved search is also automatically selected.
. To add your search results to a dashboard:
.. Open the main menu, then click *Dashboard*.
.. Open or create the dashboard, then click *Edit*.
.. Click *Add from library*.
.. From the *Types* dropdown, select *Saved search*.
.. Select the saved search that you want to visualize, then click *X* to close the list.