Custom URL field with Painless that points to a different Dashboard

I have the URL set up with the correct filter so clicking on the link goes to the other Dashboard with the field value as a filter.

The issue is that if I am viewing the original dashboard where the custom field is shown and that dashboard has a timerange of now to -7d, when clicking the link the other dashboard loads with the default timerange of now to -15m.

I could add the time in the URL but then I would have to define a static time range, would it not be possible using painless to read the current timerange?

Hi @elvarb,

We don't have anything like this, but I think it's a good idea!

I made an issue: https://github.com/elastic/kibana/issues/15030

Please follow that for updates, or feel free to tackle it yourself too!

Thanks,
Chris

1 Like

Thanks, will make a static time range for now.

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