# Direct link to doc & get index pattern ID of \*

**URL:** <https://discuss.elastic.co/t/direct-link-to-doc-get-index-pattern-id-of/278663>\
**Category:** Kibana\
**Created:** [July 14, 2021, 1:07pm UTC](https://discuss.elastic.co/t/direct-link-to-doc-get-index-pattern-id-of/278663 "2021-07-14T13:07:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit.haim](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@amit.haim](https://discuss.elastic.co/u/amit.haim)\
**Post date:** [July 14, 2021, 1:07pm UTC](https://discuss.elastic.co/t/direct-link-to-doc-get-index-pattern-id-of/278663/1 "2021-07-14T13:07:10Z")

</div>

Hi everyone,  
I didn't found any solution online yet:

1. Is it possible to get a direct link to elastic doc by the \_id arg?
2. Is it possible to get the index pattern ID of \*?

thank you all

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 14, 2021, 8:24pm UTC](https://discuss.elastic.co/t/direct-link-to-doc-get-index-pattern-id-of/278663/2 "2021-07-14T20:24:36Z")

</div>

@amit.haim Welcome to the community!  
I need more information about what you're trying to do so that I can advise you better.  
What are you trying to do with a direct link to an elasticsearch document?  
We use `*` as a wildcard so unless you actually called an index `*` (which is not allowed), I don't know what id you're trying to get here.  
If you can give more info, that would help.

---

<div class="post-metadata">

**Author:** ![amit.haim](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@amit.haim](https://discuss.elastic.co/u/amit.haim)\
**Post date:** [July 20, 2021, 1:46pm UTC](https://discuss.elastic.co/t/direct-link-to-doc-get-index-pattern-id-of/278663/3 "2021-07-20T13:46:22Z")

</div>

Hi, thank you for responding.  
I want to create a direct link to an elasticsearch document, but I'm not sure  
what is the index pattern ID should be for each document.  
That's why I asked about the index pattern ID of \* (it can work for all documents).

---

<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:** [August 17, 2021, 1:47pm UTC](https://discuss.elastic.co/t/direct-link-to-doc-get-index-pattern-id-of/278663/4 "2021-08-17T13:47:15Z")

</div>

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