# Importing dashboard and index pattern id

**URL:** <https://discuss.elastic.co/t/importing-dashboard-and-index-pattern-id/255688>\
**Category:** Kibana\
**Created:** [November 17, 2020, 12:22pm UTC](https://discuss.elastic.co/t/importing-dashboard-and-index-pattern-id/255688 "2020-11-17T12:22:12Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Maria20](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maria20/32/45638_2.png) [@Maria20](https://discuss.elastic.co/u/Maria20)\
**Post date:** [December 15, 2020, 4:47pm UTC](https://discuss.elastic.co/t/importing-dashboard-and-index-pattern-id/255688/17 "2020-12-15T16:47:35Z")

</div>

Thank you @flash1293 for your responses throughout this thread.

The issue was:

1. the exported dashboard seems to contain an entry of the default index pattern, along with the visualizations. This caused conflict when the dashboard is imported.
2. Some index patterns are not listed when using this api call  
`curl -X GET "http://localhost:5601/api/saved_objects/_find?type=index-pattern&search_fields=title" > $indx_patterns `  
I have to add page=10000 to get all the index patterns.  
`curl -s "${kibana_url}/api/saved_objects/_find?fields=title&fields=type&per_page=10000&type=index-pattern" > $indx_patterns`

If you have time, I would appreciate your help in my other Kibana-vega issue

> [@Vega tree graph in Kibana: how to reference the fields from different indices?](https://discuss.elastic.co/t/vega-tree-graph-in-kibana-how-to-reference-the-fields-from-different-indices/256114):
>
> Hi I am following this [example](https://vega.github.io/vega/examples/force-directed-layout/) and I am having an issue linking the fields of the indices. I have two indices one for nodes, and one for the links between them. My indices as follows: nodes: { "\_index" : "nodes", "\_type" : "doc", "\_id" : "1", "\_score" : 1.0, "\_source" : { "name" : "actor0", "score" : 0.87, "group" : 1, "index" : 22 } }, { "\_index" : "nodes", "\_type" : "do…

Thank you.

---

_[View the full topic](https://discuss.elastic.co/t/importing-dashboard-and-index-pattern-id/255688)._
