# Problem with loaded Dashboards & Visualizations

**URL:** <https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363>\
**Category:** Kibana\
**Created:** [October 30, 2015, 11:52am UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363 "2015-10-30T11:52:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmcano](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@vmcano](https://discuss.elastic.co/u/vmcano)\
**Post date:** [October 30, 2015, 11:52am UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363/1 "2015-10-30T11:52:24Z")

</div>

I'm using Chef to manage my ELK.  
Something important for me is being able to import automatically dashboards and visualizations and I found a nice way to do this:

1. Create "manually" the dashboard/visualization.
2. Export it using: http://elasticsearch\_IP:elasticsearch\_port/.kibana/dashboard/dashboard\_name/\_source
3. Import it using: http://elasticsearch\_IP:elasticsearch\_port/.kibana/visualization/visualization\_name/

Everything went well with the previous version of Elasticsearch and Kibana. However, the situation has changed since I updated both.  
Now, if I import (i.e., I create the Elasticsearch index for the dashboard or visualization) when there are no data on Elasticsearch, it works fine, but if I do that when Elasticsearch already stores information, `Discover` tab doesn't work. It simply does nothing.  
Other strange thing is `Discover` tab is the only one that doesn't work, while `Visualize` and `Dashboard` tabs do work.

Does someone have an idea of why it is happening?

---

<div class="post-metadata">

**Author:** ![PhaedrusTheGreek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phaedrusthegreek/32/4884_2.png) [@PhaedrusTheGreek](https://discuss.elastic.co/u/PhaedrusTheGreek)\
**Post date:** [October 30, 2015, 1:31pm UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363/2 "2015-10-30T13:31:31Z")

</div>

Can you explain a bit more about how you import?

Also, when you say "If i do that when elasticsearch already stores information" - are you referring to the .kibana index already being created? Or some other index?

Thanks

---

<div class="post-metadata">

**Author:** ![vmcano](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@vmcano](https://discuss.elastic.co/u/vmcano)\
**Post date:** [October 30, 2015, 1:58pm UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363/3 "2015-10-30T13:58:14Z")

</div>

As far as I know, both visualizations and dashboards are elements stored in the .kibana index, so if I want to import a previously created one, I only have to put that information in Elasticsearch.

Assuming the following values:

- Elasticsearch IP: localhost
- Elasticsearch port: 9200
- Visualization id: my-visualization
- JSON that contains the visualization: my-visualization.json

To import the visualization, I only have to do:  
`curl -X PUT http://localhost:9200/.kibana/dashboard/my-visualization/ -T my-visualization.json`

Regarding to the second question, I mean when there are other indexes created in Elasticsearch, not just the .kibana. To be precise, I've checked it with the information that comes from Logstash (so, with the logstash-\* indices). When my system works for a time and Logstash sends information to Elasticsearch, if I import the visualization (the same happens with dashboards) everything goes well. The problem comes if I set up the whole system and I import visualizations before Logstash sends any log.

---

<div class="post-metadata">

**Author:** ![PhaedrusTheGreek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phaedrusthegreek/32/4884_2.png) [@PhaedrusTheGreek](https://discuss.elastic.co/u/PhaedrusTheGreek)\
**Post date:** [October 30, 2015, 4:43pm UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363/4 "2015-10-30T16:43:16Z")

</div>

What were the old and new versions of ES and Kibana that you were using?

---

<div class="post-metadata">

**Author:** ![vmcano](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@vmcano](https://discuss.elastic.co/u/vmcano)\
**Post date:** [November 2, 2015, 8:57am UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363/5 "2015-11-02T08:57:48Z")

</div>

I was using Elasticsearch 1.7.3 and Kibana 4.1.2.

---

<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:** [July 6, 2017, 2:10pm UTC](https://discuss.elastic.co/t/problem-with-loaded-dashboards-visualizations/33363/6 "2017-07-06T14:10:09Z")

</div>


