# Two index Pattern with same name after importation

**URL:** <https://discuss.elastic.co/t/two-index-pattern-with-same-name-after-importation/296155>\
**Category:** Kibana\
**Created:** [February 3, 2022, 8:43am UTC](https://discuss.elastic.co/t/two-index-pattern-with-same-name-after-importation/296155 "2022-02-03T08:43:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerveSavard](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@HerveSavard](https://discuss.elastic.co/u/HerveSavard)\
**Post date:** [February 3, 2022, 8:43am UTC](https://discuss.elastic.co/t/two-index-pattern-with-same-name-after-importation/296155/1 "2022-02-03T08:43:01Z")

</div>

Hello,

I have two index pattern with the same name.

I have some visualization on the second index pattern but i need move the visualization to the first Index Pattern.

and delete the second index pattern after.

Do you have an idea?

# 7.13.2

Many thanks at all.

Herve

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [February 3, 2022, 1:37pm UTC](https://discuss.elastic.co/t/two-index-pattern-with-same-name-after-importation/296155/2 "2022-02-03T13:37:11Z")

</div>

If you go to `Stack Management > Index Patterns`, you should be able to get an ID of your index pattern from the URL. URL will be something like: `<your_hostname>/app/management/kibana/indexPatterns/patterns/ff959d40-b880-11e8-a6d9-e546fe2bba5f`  
The long alphanumeric value after `patterns` is your index pattern id; in this case index pattern ID is: `ff959d40-b880-11e8-a6d9-e546fe2bba5f`

Then, you go to `Saved Objects`, also under `Stack Management`. Find the visualization you need, and then from a pop-up selector on the right choose `Inspect`. The last section in there should be `references`, it will show current index pattern id:

 ![Screenshot 2022-02-03 at 14.34.28](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fac947ac185b6ea72e66eaccd9696b98036e3fe0.png)

You can replace this with the desired value, obtained in step 1.

But I must warn you, there is no guarantee this will work, if index patterns are different or don't contain the same data etc.

---

<div class="post-metadata">

**Author:** ![HerveSavard](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@HerveSavard](https://discuss.elastic.co/u/HerveSavard)\
**Post date:** [February 11, 2022, 1:58pm UTC](https://discuss.elastic.co/t/two-index-pattern-with-same-name-after-importation/296155/3 "2022-02-11T13:58:50Z")

</div>

Hello,

Thank you so much.

That's good.

Have a great weekend.

Herve

---

<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:** [March 11, 2022, 1:58pm UTC](https://discuss.elastic.co/t/two-index-pattern-with-same-name-after-importation/296155/4 "2022-03-11T13:58:57Z")

</div>

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