# Index id and UUID

**URL:** <https://discuss.elastic.co/t/index-id-and-uuid/166610>\
**Category:** Kibana\
**Created:** [January 31, 2019, 4:35pm UTC](https://discuss.elastic.co/t/index-id-and-uuid/166610 "2019-01-31T16:35:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheUnderdogr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theunderdogr/32/40431_2.png) [@TheUnderdogr](https://discuss.elastic.co/u/TheUnderdogr)\
**Post date:** [January 31, 2019, 4:35pm UTC](https://discuss.elastic.co/t/index-id-and-uuid/166610/1 "2019-01-31T16:35:32Z")

</div>

Hi all,

I am starting this topic because I ran into the same problem as mentioned in [this post](https://discuss.elastic.co/t/visualisation-dont-work-even-after-recreating-index-templates/126286): after re-creating an index, existing visualization stopped working. I was trying to apply Solution #2 mentioned in the post, however, I could not figure out what the correlation between index's UUID displayed when calling GET API, like  
GET weather

```
"settings": {
  "index": {
    "creation_date": "1548877302796",
    "number_of_shards": "5",
    "number_of_replicas": "1",
    "uuid": "WxbMHEWLRTOxA3BSSyeB7A",
    "version": {
      "created": "6020499"
    },
    "provided_name": "weather"

```

and the index required as **kibanaSavedObjectMeta.searchSourceJSON.index** value in the visualization, which is something like: **2da1a190-24c7-11e9-bb23-8535ad92b837** is.  
How do I know this value? Well, I have created a dummy visualization on the re-created index, then in Kibana Visualization page for that dummy visualization I clicked on Statistics and got the id= **2da1a190-24c7-11e9-bb23-8535ad92b837**.  
Then went back to my broken visualization and replaced the value of **kibanaSavedObjectMeta.searchSourceJSON.index** , and everything was back.

So, it looks that both ids: **WxbMHEWLRTOxA3BSSyeB7A** and **2da1a190-24c7-11e9-bb23-8535ad92b837** represent the same index object.

Is there an API that will give me the 8-4-4-4-12 id?

---

<div class="post-metadata">

**Author:** ![chiluka\_bharath](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@chiluka\_bharath](https://discuss.elastic.co/u/chiluka_bharath)\
**Post date:** [January 31, 2019, 4:43pm UTC](https://discuss.elastic.co/t/index-id-and-uuid/166610/2 "2019-01-31T16:43:44Z")

</div>

how to ask question?

---

<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:** [February 28, 2019, 4:57pm UTC](https://discuss.elastic.co/t/index-id-and-uuid/166610/3 "2019-02-28T16:57:17Z")

</div>

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