# Navigation to kibana discover logs from grafana fails

**URL:** <https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854>\
**Category:** Kibana\
**Created:** [October 30, 2020, 6:49pm UTC](https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854 "2020-10-30T18:49:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadish\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadish_kumar/32/78176_2.png) [@Sadish\_Kumar](https://discuss.elastic.co/u/Sadish_Kumar)\
**Post date:** [October 30, 2020, 6:49pm UTC](https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854/1 "2020-10-30T18:49:10Z")

</div>

HI team,  
I have a grafana dashboard with line graph. i want to navigate to kibana logs with corresponding time range provided by grafana. But kibana does nt show the logs on discover. it fails due to time value.  
This one works:

```auto
 https://mykibana.org/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))

```

When the time value is filled by grafana, using this data link:

```auto
https://mykibana.org/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:${ __from},to:${__ to})) 

```

which generate an url like this for example based on chosen point:

```auto
https://mykibana.org/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:1604002957536,to:1604002959093))

```

This one fails navigation and make it hard for logs analysis. I have seen this issue already on another topic [Help required for Kibana link redirection from Grafana](https://discuss.elastic.co/t/help-required-for-kibana-link-redirection-from-grafana/191126)

but the resolution is not clear. Is there a fix or another way to manage this problem ?  
Any help will be great !

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [October 31, 2020, 2:07pm UTC](https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854/2 "2020-10-31T14:07:50Z")

</div>

Kibana's `time` URL parameter does not accept time in epoch format. Is there any way to convert the value to ISO-8601 format in Grafana?

Would you mind opening an issue at [https://github.com/elastic/kibana/issues/new?template=Feature\_request.md](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) and describe your use case?

---

<div class="post-metadata">

**Author:** ![Sadish\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadish_kumar/32/78176_2.png) [@Sadish\_Kumar](https://discuss.elastic.co/u/Sadish_Kumar)\
**Post date:** [November 1, 2020, 11:55am UTC](https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854/3 "2020-11-01T11:55:15Z")

</div>

Hi nathan,  
So far i dont find any other way to get this date format conversion on Grafana side. As i have to simply use the time variable provided by grafana in the url. Dont find any other way to convert this value to correct format.

```auto
https://mykibana.org/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:${ __from},to:${__ to}))

```

If you have any other way of workaround. Please share with me.

Thanks alot.  
sadish

---

<div class="post-metadata">

**Author:** ![Sadish\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadish_kumar/32/78176_2.png) [@Sadish\_Kumar](https://discuss.elastic.co/u/Sadish_Kumar)\
**Post date:** [November 1, 2020, 12:32pm UTC](https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854/4 "2020-11-01T12:32:20Z")

</div>

> [@Sadish\_Kumar](#):
>
> `https://mykibana.org/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:1604002957536,to:1604002959093))`

Here is the github issue created [Navigation from grafana to kibana fails due to epoch time format in the url · Issue #82227 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/82227)

---

<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:** [November 29, 2020, 12:32pm UTC](https://discuss.elastic.co/t/navigation-to-kibana-discover-logs-from-grafana-fails/253854/5 "2020-11-29T12:32:25Z")

</div>

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