kibana/docs/management/managing-saved-objects.asciidoc
Kaarina Tungseth 896b9cddbc
[DOCS] Updates for navigation redesign (#68709)
* [DOCS] Updates for navigation redesign

* Getting started

* Set up text

* Discover

* Dashboard, Graph, ML, Maps, APM, SIEM, Dev tools

* Dev Tools, Stack Monitoring, Management

* Management

* Final changes

* [DOCS] Updates for navigation redesign

* [DOCS] Updates CCR monitoring screenshots

* updates SIEM screenshot and Cases overview text

* Added Brandon's APM image

* [DOCS] Refines CCR shard screenshot

* Removed merge conflict image file

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Ben Skelker <ben.skelker@elastic.co>
2020-06-12 09:39:36 -05:00

97 lines
3.7 KiB
Plaintext

[[managing-saved-objects]]
== Saved Objects
The *Saved Objects* UI helps you keep track of and manage your saved objects. These objects
store data for later use, including dashboards, visualizations, maps, index patterns,
Canvas workpads, and more.
To get started, open the menu, then go to *Stack Management > {kib} > Saved Objects*. With this UI, you can:
* <<managing-saved-objects-view, View&#44; edit&#44; and delete saved objects>>
* <<managing-saved-objects-export-objects, Import and export saved objects>>
* <<managing-saved-objects-copy-to-space, Copy saved objects to another {kib} space>>
* <<managing-saved-objects-object-definition, Edit the object definition>>
[role="screenshot"]
image::images/management-saved-objects.png[Saved Objects]
[float]
[[managing-saved-objects-view]]
=== View, edit, and delete
* To view and edit an object in its associated application, click the object title.
* To show objects that use this object, so you know the
impact of deleting it, click the actions icon image:images/actions_icon.png[Actions icon]
and select *Relationships*.
* To delete one or more objects, select their checkboxes, and then click *Delete*.
[float]
[[managing-saved-objects-export-objects]]
=== Import and export
Using the import and export commands, you can move objects between different
{kib} instances. This action is useful when you
have multiple environments for development and production.
Import and export also work well when you have a large number
of objects to update and want to batch the process.
[float]
==== Import
You can import multiple objects in a single operation. Click *Import* and
navigate to the NDJSON file that
represents the objects to import. By default,
saved objects already in {kib} are overwritten.
[float]
==== Export
You have two options for exporting saved objects.
* Select the checkboxes of objects that you want to export, and then click *Export*.
* Click *Export x objects*, and export objects by type.
This action creates an NDJSON with all your saved objects. By default,
the NDJSON includes related objects. Exported dashboards include their associated index patterns.
[float]
[role="xpack"]
[[managing-saved-objects-copy-to-space]]
=== Copy to other {kib} spaces
To copy a saved object to another space, click the actions icon image:images/actions_icon.png[Actions icon]
and select *Copy to space*. From here, you can select the spaces in which to copy the object.
You can also select whether to automatically overwrite any conflicts in the target spaces, or
resolve them manually.
WARNING: The copy operation automatically includes related objects. If you don't want this behavior,
use the <<spaces-api-copy-saved-objects, copy saved objects to space API>> instead.
[float]
[[managing-saved-objects-object-definition]]
=== Advanced editing
Some objects offer an advanced *Edit* page for modifying the object definition.
To open the page, click the actions icon image:images/actions_icon.png[Actions icon]
and select *Inspect*.
You can change the object title, add a description, and modify
the JSON that defines the object properties.
If you access an object whose index has been deleted, you can:
* Recreate the index so you can continue using the object.
* Delete the object and recreate it using a different index.
* Change the index name in the object's `reference` array to point to an existing
index pattern. This is useful if the index you were working with has been renamed.
WARNING: Validation is not performed for object properties. Submitting an invalid
change will render the object unusable. A more failsafe approach is to use
*Discover*, *Visualize*, or *Dashboard* to create new objects instead of
directly editing an existing one.