# Change the index pattern name of a visualisation Elastic 7.7(premium)

**URL:** https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342
**Category:** Kibana
**Created:** [May 19, 2020, 2:35pm UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342 "2020-05-19T14:35:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)
#### Post date: [May 19, 2020, 2:35pm UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342/1 "2020-05-19T14:35:07Z")

</div>

Hi,

I want to change the index pattern of a visualisation. I tried to it inspecting the visualisation in saved object but there is no name of the index pattern there.  
How can I do that?

Basically I want to change the index pattern name of an entire dashboard that has many visualisations with the same index pattern.

Thank you very much in advance!

/Angelos

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [May 19, 2020, 6:51pm UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342/2 "2020-05-19T18:51:32Z")

</div>

Hi Angelos,

It's not currently possible to change the index pattern of an existing visualization. Instead, you will need to rebuild the visualization using the new index pattern.

This is being tracked here: [https://github.com/elastic/kibana/issues/17542](https://github.com/elastic/kibana/issues/17542)

---

<div class="post-metadata">

### Author: ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)
#### Post date: [May 20, 2020, 7:29am UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342/3 "2020-05-20T07:29:47Z")

</div>

Hi Tyler,

Thank you for the response.  
But in the previous versions you could that.  
In the saved objects someone could change the id of the index pattern inside the "references".  
So previously there was references information but now it is empty.

Was that removed from 7.7?

/Angelos

---

<div class="post-metadata">

### Author: ![PraveenKT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/praveenkt/32/35483_2.png) [@PraveenKT](https://discuss.elastic.co/u/PraveenKT)
#### Post date: [May 20, 2020, 8:14am UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342/4 "2020-05-20T08:14:28Z")

</div>

setup.kibana.host: "x.x.x.x:5601"  
setup.dashboards.index: "xxxxx-\*"  
set beat output to elasticsearch.

/usr/share/metricbeat/bin/metricbeat setup dashboards

remove existing dashboards. above command upload new dashboards with cutom index patterns. But it only change time serries visulation dashboards. But ont grpahs, metrics, guages.

---

<div class="post-metadata">

### Author: ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)
#### Post date: [May 20, 2020, 9:28am UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342/5 "2020-05-20T09:28:19Z")

</div>

Hi,

I found a way. It is not optimal but it works.

I exported the saved object, I changed there the id of the index pattern, I removed the old saved object and I imported again.

This is not an efficient way to do this kind of changes and I look forward to a solution.

/Angelos

---

<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: [June 17, 2020, 9:28am UTC](https://discuss.elastic.co/t/change-the-index-pattern-name-of-a-visualisation-elastic-7-7-premium/233342/6 "2020-06-17T09:28:23Z")

</div>

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