# Kibana preserve custom time from dasboard to Discover

**URL:** <https://discuss.elastic.co/t/kibana-preserve-custom-time-from-dasboard-to-discover/257284>\
**Category:** Kibana\
**Created:** [December 1, 2020, 10:30pm UTC](https://discuss.elastic.co/t/kibana-preserve-custom-time-from-dasboard-to-discover/257284 "2020-12-01T22:30:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rnx](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Rnx](https://discuss.elastic.co/u/Rnx)\
**Post date:** [December 1, 2020, 10:30pm UTC](https://discuss.elastic.co/t/kibana-preserve-custom-time-from-dasboard-to-discover/257284/1 "2020-12-01T22:30:37Z")

</div>

How to preserve chosen time in Kibana Dashboard by clicking on link to Discover panel?  
I need to view documents from specific time according to peaks in graphs in Dashboard. Therefore my chosen time is within 3-4 min timeframe few hours ago. I have Markdown shortcut linked to discover viewing those documents. However, specified time is always reset to default t-15min. How to create link in dashboard, to view docs in Discover tab only in specified timeframe?

In ELK 7.8.0 on-premise it works by removing "time:(from:now-15m,to:now)" from the URL, however, in cloud based stack 7.10.0 it is NOT. The URL to Discover is following:

```auto
https://xyz.elastic-cloud.com:9243/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),refreshInterval:(pause:!t,value:0))&_a=(columns:!(durationSeconds,User,ConfigurationId,Success,Subsidiary,Server,DmsId,ArchiveDocumentId),filters:!(),index:'672d2480-2cd5-11eb-a1ba-8915b47bf148',interval:auto,query:(language:kuery,query:''),sort:!())

```

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [December 3, 2020, 3:55pm UTC](https://discuss.elastic.co/t/kibana-preserve-custom-time-from-dasboard-to-discover/257284/2 "2020-12-03T15:55:28Z")

</div>

Hi @Rnx,

I think

> In ELK 7.8.0 on-premise it works by removing "time:(from:now-15m,to:now)" from the URL

Is no longer work because of this bug [Prevent page load in markdown links · Issue #68236 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/68236) . Because of that clicking on a link in Markdown reloads Kibana and time range state is lost ☹

Don't have an idea for a good workaround.

Would just suggest to look into recently introduced features that partially cover your use case:

- [Explore underlying data](https://www.elastic.co/guide/en/kibana/master/explore-dashboard-data.html#explore-the-underlying-data)
- [Custom dashboard actions](https://www.elastic.co/guide/en/kibana/master/drilldowns.html)

---

<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:** [December 31, 2020, 3:55pm UTC](https://discuss.elastic.co/t/kibana-preserve-custom-time-from-dasboard-to-discover/257284/3 "2020-12-31T15:55:54Z")

</div>

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