Kiaban generated url for index pattern

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.

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