How to auto select the appropriate index dynamically in the kibana through discover url

We create a dynamic kibana url to the user

http://localhost:5601/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:'2019-10-16T06:00',to:'2019-10-18T06:00'))&_a=(columns:!(_source),index:'logstash-*',interval:auto,query:(language:lucene,query:'Error%20Fetching,%20Shipping%20Details'),sort:!(!('@timestamp',desc)))

our index is logstash-* and it is valid and we would like it be selected when the user clicks on the url ....but we always get this exception that index is not valid .......![scnshot|564x134] even though it is a configured index pattern

scnshot
We are fairly new to kibana communtity's help in resolving this issue would be of great help

the index url parameter needs to specify the saved object id, not the index pattern title. To view your index pattern id, go to management => index patterns and select your index pattern. The URL will contain the id of the saved object. This is the value that should be used in your discover link.

Thank you very much @Nathan_Reese that was really helpful!!

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