Skip to content

elastic-package export search #1821

@ltflb-bgdi

Description

@ltflb-bgdi

While it is possible to export dashboards with elastic-package export dashboards and make them editable by elastic-package edit dashboards it is not possible to do that for saved searches.

As a workaround I have created a dashboard with references to all required searches. This works but leads to the following problems:

  • elastic-package lint fails since it does not like dashboards with references (for what reasons I don't know since referencing objects in dashboards is a supported feature and works if done in kibana gui) - SVR00004
  • Once exported and added to the package, they can not be edited anymore, since the corresponding elastic-package command is missing.

Adding support for exporting and editing searches would greatly simplify the management of searches.
Ideally the command would be like this elastic-package export|edit search.

Or even elastic-package export|edit saved_object for any kind of saved objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions