# How can I automate version control Kibana Saved Object?

**URL:** <https://discuss.elastic.co/t/how-can-i-automate-version-control-kibana-saved-object/257677>\
**Category:** Kibana\
**Created:** [December 4, 2020, 4:04pm UTC](https://discuss.elastic.co/t/how-can-i-automate-version-control-kibana-saved-object/257677 "2020-12-04T16:04:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhagen92](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jhagen92/32/80458_2.png) [@jhagen92](https://discuss.elastic.co/u/jhagen92)\
**Post date:** [December 4, 2020, 4:04pm UTC](https://discuss.elastic.co/t/how-can-i-automate-version-control-kibana-saved-object/257677/1 "2020-12-04T16:04:26Z")

</div>

Hi,

I am very new to Kibana. I create Dashboard using Kibana and found that I can save it by using Saved Object. I was thinking I can version control these json file in my Azure DevOps repo.

Instead of export-\>saving it to repo manually, I was wondering if there is any way to automate it on command or using API, so when new Dashboard is created(saved or updated), I can run the jar or command line, then it grabs new Saved Object from dashboard to local or my repo. Is this possible currently?

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [December 4, 2020, 4:23pm UTC](https://discuss.elastic.co/t/how-can-i-automate-version-control-kibana-saved-object/257677/2 "2020-12-04T16:23:22Z")

</div>

Hi @jhagen92,

AFAIK, it is not possible to hook into saved object created / updated events.  
But there is a saved objects [api](https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html) you could use and you can hack a backup of your dashboards by time-interval.

Also since Kibana saved object are stored in Elasticsearch similar to any other documents, you could look into using [snapshots](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html) for backups.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 1, 2021, 4:23pm UTC](https://discuss.elastic.co/t/how-can-i-automate-version-control-kibana-saved-object/257677/3 "2021-01-01T16:23:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
