The source configurations of the Logs UI and Metrics UI are stored as saved object using Kibana's built-in mechanism. For administrative purposes (especially in infrastructure-as-code scenarios) it would be convenient to be able to export and re-import the source configurations via the Kibana saved object UI and API.
This can be enabled be enhancing the saved object definition slightly.
See importableAndExportable option shown here (formerly known as isImportableAndExportable in legacy plugin world): https://github.com/elastic/kibana/blob/master/src/core/MIGRATION_EXAMPLES.md#saved-objects-types
Example: https://github.com/elastic/kibana/blob/master/src/plugins/visualizations/server/saved_objects/visualization.ts#L30
The source configurations of the Logs UI and Metrics UI are stored as saved object using Kibana's built-in mechanism. For administrative purposes (especially in infrastructure-as-code scenarios) it would be convenient to be able to export and re-import the source configurations via the Kibana saved object UI and API.
This can be enabled be enhancing the saved object definition slightly.
See
importableAndExportableoption shown here (formerly known asisImportableAndExportablein legacy plugin world): https://github.com/elastic/kibana/blob/master/src/core/MIGRATION_EXAMPLES.md#saved-objects-typesExample: https://github.com/elastic/kibana/blob/master/src/plugins/visualizations/server/saved_objects/visualization.ts#L30