Loading

stack kb saved-objects post-saved-objects-export cli command

Auth required
elastic stack kb saved-objects post-saved-objects-export [options]
		

Export saved objects

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--[no-]exclude-export-details
Do not add export details entry at the end of the stream.
--has-reference string

Repeatable: pass --has-reference multiple times to supply more than one value

--[no-]include-references-deep
Includes all of the referenced objects in the exported objects.
--objects string[]
A list of objects to export. NOTE: this optional parameter cannot be combined with the types option
Search for documents to export using the Elasticsearch Simple Query String syntax.
--type string

The saved object types to include in the export. Use * to export all the types. Valid options depend on enabled plugins, but may include visualization, dashboard, search, index-pattern, tag, config, config-global, lens, map, event-annotation-group, query, url, action, alert, alerting_rule_template, apm-indices, cases-user-actions, cases, cases-comments, infrastructure-monitoring-log-view, ml-trained-model, osquery-saved-query, osquery-pack, osquery-pack-asset.

Repeatable: pass --type multiple times to supply more than one value

--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON