Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get date time filter values in a TSVB markdown? #76896

Closed
vinays11 opened this issue Sep 8, 2020 · 1 comment
Closed

How to get date time filter values in a TSVB markdown? #76896

vinays11 opened this issue Sep 8, 2020 · 1 comment

Comments

@vinays11
Copy link

vinays11 commented Sep 8, 2020

I need to provide a hyperlink in kibana dashboard which navigates to an external site. At present,
Created a TSVB visualization type and added a markdown to define the URL.

Need to pass the selected date time range as query string to the URL defined in the markdown.

Referring to below thread:
https://discuss.elastic.co/t/tsvb-visualisation-get-the-filter-date-value/240309

Tried fetching the date time filter from the filter control, but the auto interval time is added to the selected time in the query string.

Attached reference screenshots.

  1. URL configuration in TSVB markdown:
    ![1

  2. Data options for selecting start datetime from filter control:

2

  1. Data options for selecting end datetime from filter control:

3

  1. Auto-time interval is added in query string.

4

May I please know how to fetch the exact date time range from calendar filter control in TSVB markdown?
Or is there any better way to add a link in Kibana dashboard to navigate to external site and pass date time in query string of the URL?

@timroes
Copy link
Contributor

timroes commented Sep 8, 2020

Hi,

you cannot get access to the selected time filter range in TSVB markdown. So you cannot craft links that do that. The issue you want to follow is the URL drilldown, which will allow creating drilldowns to external URLs: #55324

@timroes timroes closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants