# Where are the configurations for "scripted fields/dashboards/visualisations" stored?

**URL:** <https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712>\
**Category:** Kibana\
**Created:** [July 10, 2020, 2:20pm UTC](https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712 "2020-07-10T14:20:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)\
**Post date:** [July 10, 2020, 2:20pm UTC](https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712/1 "2020-07-10T14:20:16Z")

</div>

We wanted to centralise the configuration into version control and wanted to move away from updating Kibana directly in PROD environment. As part of it, we needed to have configurations (like scripted fields/dashboards/visualisations) updated using API (rather than manually done via GUI) to have central configuration for all the environments.

- Is there any good document on where the configurations are stored?
- Hope they are stored in elasticsearch (and not in Kibana?)
- How is the configurations fetched into Kibana? if you have multiple Kibana instances, how each of them gets the same configs?
- Is there a consistent way to do POST update on the config items which are changed in release schedule? Wished these were stored as files

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 14, 2020, 6:33pm UTC](https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712/2 "2020-07-14T18:33:49Z")

</div>

Hi @kelk. These are known as Saved Objects in Kibana and they are stored in a system index in your Elasticsearch cluster. The recommended way to interact with these saved objects is via the [Rest API](https://www.elastic.co/guide/en/kibana/current/saved-objects-api.html).

---

<div class="post-metadata">

**Author:** ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)\
**Post date:** [July 14, 2020, 7:04pm UTC](https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712/3 "2020-07-14T19:04:02Z")

</div>

thanks @nickpeihl  
I had figured out in the hard way 🙂 by loosing and corrupting my development instance. lesson learnt

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 14, 2020, 7:13pm UTC](https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712/4 "2020-07-14T19:13:29Z")

</div>

Hi @kelk. 😱 thank goodness it was only your development instance!

---

<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:** [August 11, 2020, 7:13pm UTC](https://discuss.elastic.co/t/where-are-the-configurations-for-scripted-fields-dashboards-visualisations-stored/240712/5 "2020-08-11T19:13:35Z")

</div>

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