I need to provide a hyperlink in kibana dashboard which navigates to an external site. At present,
Created a TSVB and added a markdown to define the URL.
Need to pass the selected date time range as query string to the URL defined in the markdown.
Okay, so my first comment is that you have found a fairly hacky approach to this whole problem.
Your do not need to use params._all. Instead, use params._timestamp and params._timestamp + params._interval.
If you do this, you'll see the interval is set to 3 hours (from your screenshot). To change from 3 hours to the time range in the top right, use Kibana 7.4 or greater and choose "Entire timerange" for the time range mode.
Sorry, it looks like the instructions I previously wrote were wrong. It seems extremely likely that the behavior you are looking for is not supported in current versions of Kibana. The good news is that we are releasing in 7.10 a feature called url drilldowns which should support this use case, but it does mean that it's not currently supported.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.