elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.12k forks source link

[Watcher] Import / Export API for Watches #18057

Closed elasticmachine closed 2 weeks ago

elasticmachine commented 6 years ago

Original comment by @alexfrancoeur:

Similar to the new experimental import / export dashboard API (https://github.com/elastic/kibana/pull/10858), customers would like to be able to import / export watches (and dependencies?) directly from an API.

elasticmachine commented 6 years ago

Original comment by @pickypg:

(and dependencies?)

One of the best things about Watches is that they are completely self-contained with one exception: indexed scripts.

This includes both Mustache and Painless scripts.

elasticmachine commented 6 years ago

Original comment by @rasroh:

cc / @elastic/kibana-management

elasticmachine commented 5 years ago

Pinging @elastic/es-ui

cjcenizal commented 5 years ago

@alexfrancoeur The first thing that pops into my head is to suggest the user create a snapshot of the .watches index and then restore that snapshot elsewhere. Looks like this was our advice to a user regarding this on the forums: https://discuss.elastic.co/t/list-backup-restore-watchers/123403.

Would this address the use cases you're aware of? Or are there use cases where the user needs a super-low-friction way of sharing Watches? (If so I'd love to hear more details about this).

BobBlank12 commented 4 years ago

The ability to create watches in a test/dev environment, and then export them and reimport them into a production environment would be a benefit to users who have strong change management procedures.

abdalians commented 4 years ago

an absolute necessity. this could be an option under the saved objects export / import a little check mark to include watches just like the index-patterns, viz, dashboards.

alisonelizabeth commented 2 weeks ago

Not planned work at this time