# TSVB - Top N - Item URL: keep time interval when link to other dashboard

**URL:** https://discuss.elastic.co/t/tsvb-top-n-item-url-keep-time-interval-when-link-to-other-dashboard/260598
**Category:** Kibana
**Created:** [January 9, 2021, 10:42am UTC](https://discuss.elastic.co/t/tsvb-top-n-item-url-keep-time-interval-when-link-to-other-dashboard/260598 "2021-01-09T10:42:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anja1](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anja1](https://discuss.elastic.co/u/anja1)
#### Post date: [January 9, 2021, 10:42am UTC](https://discuss.elastic.co/t/tsvb-top-n-item-url-keep-time-interval-when-link-to-other-dashboard/260598/1 "2021-01-09T10:42:31Z")

</div>

I´m using the "item url" in TSVB visualization to link to another dashboard.  
In the new dashboard the search is already filled with the value of "{{key}}"  
(thats ok).

When link to another dashboard I also want to keep the selected time interval. Is this possible?  
Maybe I have to set &\_g=(time:)?

This is my current item url with a static time interval of one hour :  
`<URL>?_a=(query:(language:kuery,query:'host.name:"{{key}}"'))&_g=(time:(from:now-1h,to:now))`

Can somebody help me?  
Thanks!

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [January 9, 2021, 12:46pm UTC](https://discuss.elastic.co/t/tsvb-top-n-item-url-keep-time-interval-when-link-to-other-dashboard/260598/2 "2021-01-09T12:46:50Z")

</div>

You should use the [dashboard drilldown feature](https://www.elastic.co/guide/en/kibana/current/drilldowns.html) for this, because otherwise you won't be able to persist the time range. This feature was introduced in 7.8

---

<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: [February 6, 2021, 12:47pm UTC](https://discuss.elastic.co/t/tsvb-top-n-item-url-keep-time-interval-when-link-to-other-dashboard/260598/3 "2021-02-06T12:47:15Z")

</div>

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