# Kibana's data dependency

**URL:** <https://discuss.elastic.co/t/kibanas-data-dependency/78830>\
**Category:** Kibana\
**Created:** [March 16, 2017, 9:35am UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830 "2017-03-16T09:35:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![avivc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivc/32/16501_2.png) [@avivc](https://discuss.elastic.co/u/avivc)\
**Post date:** [March 16, 2017, 9:35am UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830/1 "2017-03-16T09:35:27Z")

</div>

Hi,  
I'm maintaining Linux machines for **Kibana & ES**  
I accidentally delete ES machine and nothing left of it except several files/ dependencies

After recover it with the appropriate data, I reopen both machines and notice that Kibana's data (queries & visualize) is gone. Trying to create previous index pattern came up with nothing

My only assumption is that deleting the cluster remove the dependency of Kibana’s queries from it index pattern and perhaps Kibana automatically get rid of them.

Am I right?

Help will be appreciate 👍

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 16, 2017, 1:26pm UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830/2 "2017-03-16T13:26:33Z")

</div>

@avivc Kibana uses Elasticsearch to store it's Saved Objects including visualizations/queries/dashboards and they're stored in the `.kibana` index in Elasticsearch by default. If you're able to restore the `.kibana` index in Elasticsearch, your visualizations/queries should show up again.

---

<div class="post-metadata">

**Author:** ![avivc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivc/32/16501_2.png) [@avivc](https://discuss.elastic.co/u/avivc)\
**Post date:** [March 16, 2017, 1:44pm UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830/3 "2017-03-16T13:44:22Z")

</div>

Tnx @Brandon_Kobel  
As kibana.yml describes:

> Kibana uses an index in Elasticsearch to store saved searches, visualizations and  
> dashboards. Kibana creates a new index if the index doesn’t already exist.  
> kibana.index: ".kibana"

My question is, regarding to your answer and to this configuration, why this objects stored in `.kibana` if I custom index/es ? what happened if I set default index like this: `#kibana.index: ".kibana"`

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 16, 2017, 1:58pm UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830/4 "2017-03-16T13:58:32Z")

</div>

@avivc if you changed the index that kibana uses with `kibana.index: custom-name` setting then it won't use the `.kibana` index but the index that you specified.

---

<div class="post-metadata">

**Author:** ![avivc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivc/32/16501_2.png) [@avivc](https://discuss.elastic.co/u/avivc)\
**Post date:** [March 16, 2017, 2:24pm UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830/5 "2017-03-16T14:24:27Z")

</div>

@Brandon_Kobel Thank you for the input

---

<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:** [April 13, 2017, 2:24pm UTC](https://discuss.elastic.co/t/kibanas-data-dependency/78830/6 "2017-04-13T14:24:48Z")

</div>

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