Index id and UUID

Hi all,

I am starting this topic because I ran into the same problem as mentioned in this post: 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?

how to ask question?

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