# Kibana - Change Index of Visualization/Dashboard/Search

**URL:** <https://discuss.elastic.co/t/kibana-change-index-of-visualization-dashboard-search/153147>\
**Category:** Kibana\
**Created:** [October 19, 2018, 9:30am UTC](https://discuss.elastic.co/t/kibana-change-index-of-visualization-dashboard-search/153147 "2018-10-19T09:30:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfonso.viso](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@alfonso.viso](https://discuss.elastic.co/u/alfonso.viso)\
**Post date:** [October 19, 2018, 9:30am UTC](https://discuss.elastic.co/t/kibana-change-index-of-visualization-dashboard-search/153147/1 "2018-10-19T09:30:16Z")

</div>

Hi all,

Anybody know how to change the index of a visualization or search in Kibana?

I have found into "Save Objetcs" this information:

# KibanaSavedObjectMeta.searchSourceJSON

{  
"index": "8b1ae190-c196-11e8-b7bd-15d67a94fc57",  
"highlightAll": true,  
"version": true,  
"query": {  
"language": "lucene",  
"query": "status:[400 TO 599]"  
},  
"filter": []  
}

How can I obtain the value of the new index?

Thanks,

Best Regards

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [October 19, 2018, 3:59pm UTC](https://discuss.elastic.co/t/kibana-change-index-of-visualization-dashboard-search/153147/2 "2018-10-19T15:59:33Z")

</div>

The `index` property tells you the ID of the index pattern with which the visualization is associated. If you want to change it you'll need to get the ID of the other index pattern (either from the index pattern saved object or by looking at the URL in discover when you've got that index pattern selected) and update the `index` property to the new ID.

---

<div class="post-metadata">

**Author:** ![alfonso.viso](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@alfonso.viso](https://discuss.elastic.co/u/alfonso.viso)\
**Post date:** [October 19, 2018, 4:53pm UTC](https://discuss.elastic.co/t/kibana-change-index-of-visualization-dashboard-search/153147/3 "2018-10-19T16:53:11Z")

</div>

Hi Lukas,

I didn't know how to get the ID, thank you very much for your help

---

<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:** [November 16, 2018, 4:53pm UTC](https://discuss.elastic.co/t/kibana-change-index-of-visualization-dashboard-search/153147/4 "2018-11-16T16:53:11Z")

</div>

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