# Kibana 6.2.1 Discover URL without using index pattern ID

**URL:** <https://discuss.elastic.co/t/kibana-6-2-1-discover-url-without-using-index-pattern-id/126591>\
**Category:** Kibana\
**Created:** [April 3, 2018, 2:37pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-discover-url-without-using-index-pattern-id/126591 "2018-04-03T14:37:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ld\_pvl](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@ld\_pvl](https://discuss.elastic.co/u/ld_pvl)\
**Post date:** [April 3, 2018, 2:37pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-discover-url-without-using-index-pattern-id/126591/1 "2018-04-03T14:37:20Z")

</div>

Hi All,

I am trying to construct a deterministic discover URL but index patterns are mapped to UUIDs and the discover URL uses this ID in the URL. Eg:

```
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:SOME_UUID,....

```

I did notice though, that for index patterns without a '\*', I can replace the UUID with the pattern and the URL works, eg:

```
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:SOME_PATTERN_WITHOUT_A_STAR

```

However, for patterns with a star in them, this throws an invalid URL:

```
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:PATTERN*,....

```

If I wrap the pattern between single quotes, the URL is valid but it complains that no such pattern ID exists, eg:

```
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:'PATTERN*',....

```

What is the trick that I am missing?

P.S.: I think one way to work around this is to create an alias in elasticsearch. However, I was wondering if there is a more direct way that involves only Kibana without me having to create an alias.

Cheers,

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 4, 2018, 6:56pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-discover-url-without-using-index-pattern-id/126591/2 "2018-04-04T18:56:10Z")

</div>

Hi,

great q. I'm afraid, its not really supported at the moment. I found few ref github issues around this. You can subscribe to this and follow through.

> <https://github.com/elastic/kibana/issues/15023>

> <https://github.com/elastic/kibana/pull/14760>

Cheers  
Rashmi

---

<div class="post-metadata">

**Author:** ![ld\_pvl](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@ld\_pvl](https://discuss.elastic.co/u/ld_pvl)\
**Post date:** [April 6, 2018, 2:04pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-discover-url-without-using-index-pattern-id/126591/3 "2018-04-06T14:04:42Z")

</div>

Many thanks for the answer.

---

<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:** [May 4, 2018, 2:04pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-discover-url-without-using-index-pattern-id/126591/4 "2018-05-04T14:04:46Z")

</div>

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