# How to find kibana's full id?

**URL:** <https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610>\
**Category:** Kibana\
**Created:** [May 13, 2018, 8:45am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610 "2018-05-13T08:45:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yishain11](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yishain11](https://discuss.elastic.co/u/yishain11)\
**Post date:** [May 13, 2018, 8:45am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610/1 "2018-05-13T08:45:43Z")

</div>

When I do \_cat/indices I see index id like this: QWsT5b6YR92v-1UIxJHJrw.  
When I open a saved object in the same kibana index, I see different id:  
e5234d00-123b-11e8-ac70-55d54df89f62

Why the id's aren't the same?

If I want to manualy change index id in exported visualization (in order to use in a different index) I need the longer id.  
Is there an easy way to find this ID that dosen't involve opening a new visualization and checking the id that stored inside?

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [May 14, 2018, 6:37am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610/2 "2018-05-14T06:37:33Z")

</div>

Hey,

the id within the saved object of a visualization (or other element) does not refer to that ID you are seeing when querying `_cat/indices`. It instead refers to the id of the index pattern saved object for that index pattern that you created.

You can query them via `GET /.kibana/_search?q=type:index-pattern` This will give you a result of all index patterns you created and the id of the actual ES document (without the `index-pattern:` prefix) is the id you are looking for:

```json
{
  "hits": {
    "hits": [
      {
        "_index": ".kibana",
        "_type": "doc",
        "_id": "index-pattern:abeee130-44a2-11e8-832f-4300ee7472e2",
        "_score": 1.5141277,
        "_source": {
          "type": "index-pattern",
          "updated_at": "2018-04-20T13:56:50.007Z",
          "index-pattern": {
            "title": "movie_lens_users*",
          ...

```

In this example `abeee130-44a2-11e8-832f-4300ee7472e2` is the id for the `movie_lens_users*` index pattern.

Cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![yishain11](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yishain11](https://discuss.elastic.co/u/yishain11)\
**Post date:** [May 14, 2018, 9:18am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610/3 "2018-05-14T09:18:28Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![yishain11](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yishain11](https://discuss.elastic.co/u/yishain11)\
**Post date:** [May 14, 2018, 10:59am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610/4 "2018-05-14T10:59:39Z")

</div>

Is there a way to single out the id in the curl, with a given "title"?

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [May 14, 2018, 11:41am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610/5 "2018-05-14T11:41:25Z")

</div>

You cannot make Elasticsearch to ONLY return the id. But you can use command line tools like `jq` to post process the JSON response.

---

<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 11, 2018, 11:41am UTC](https://discuss.elastic.co/t/how-to-find-kibanas-full-id/131610/6 "2018-06-11T11:41:27Z")

</div>

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