# Kiaban generated url for index pattern

**URL:** <https://discuss.elastic.co/t/kiaban-generated-url-for-index-pattern/343438>\
**Category:** Kibana\
**Created:** [September 20, 2023, 9:50am UTC](https://discuss.elastic.co/t/kiaban-generated-url-for-index-pattern/343438 "2023-09-20T09:50:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![O\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_k/32/52424_2.png) [@O\_K](https://discuss.elastic.co/u/O_K)\
**Post date:** [September 20, 2023, 9:50am UTC](https://discuss.elastic.co/t/kiaban-generated-url-for-index-pattern/343438/1 "2023-09-20T09:50:13Z")

</div>

I'm writing some app which will be generating kibana URLs with particular logs. The problem I faced that I can discover indexes in kibana UI using data view or get data view id from kibana API `/api/data_views` and then map it to URL.

This is example URL using data view `index:'0276ae4c-3da9-425b-af5f-520a4e203c13`

`http://kibana/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:'0276ae4c-3da9-425b-af5f-520a4e203c13',interval:auto,query:(language:kuery,query:''),sort:!(!('@timestamp',desc)))`

Question: probably there is simpler way to get logs URL in kibana based only on index or index filter without extra step to map kibana data view with index name.

---

<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:** [October 18, 2023, 9:50am UTC](https://discuss.elastic.co/t/kiaban-generated-url-for-index-pattern/343438/2 "2023-10-18T09:50:35Z")

</div>

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