Programmatically set the date range of a dashboard/panel

Hello,

I am quite new to grafana. I am making a dashboard with a table and four graphs next to it.
I would like the functionality to click on the time column, which would then zoom into the time frame where “from” would be the clicked time and “to” would be from + 5s. Or any work around that I can use in this situation.

Thanks,
Kyle

I’m trying to do the same thing! I have data that look like this in a table:
image

I tried to use the __value.time variable and +/- 1h for the URL but it ends up like this in the url:

from=2021-05-22T10:03:11.000Z-1h&to=2021-05-22T10:03:11.000Z%201h

How do I turn this into epoch timestamp so that it can work?

This topic was automatically closed after 365 days. New replies are no longer allowed.