-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Kibana: Define variables for Dashboards and Embeddables #33927
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Pinging @elastic/kibana-presentation (Team:Presentation) |
Use case: A user wants to bind a variable to a data view (index pattern) so they can offer their users the ability to apply the same visualizations to different data views (with the same schema) without having to offer multiple dashboards |
@ghudgins This is a valid use case - a workaround right now is to use a data view which matches all of the targeted indices, then adding a filter on the |
Closing this in favour of #134706 which is a more generic system. |
Describe the feature:
Timelion and Time Series Builder have an amazing feature: to display one or more curves of different times (using offset) in one panel, which is great for comparing specific KPIs from multiple times.
Unfortunately the offset is currently statically set within the visualization.
We need the offset to be defined / overwritten on dashboard level, because it is impossible to fix foresee the needed offset on visualization level and we don't want to need to change the main visualization all the time we need a different offset.
So we need some kind of variable control element (maybe like a control visualization) where we can set the following:
metric=min:@timestamp,q="logType:loadtest AND testrun.iteration: 1
").metric=min:@timestamp,q="logType:loadtest AND testrun.iteration: {{testrunBaseline}}
-> which references previously variable testrunBaselineThe above describes the possibilities for one variable. The element should have the possibility to handle multiple variables. So give the element the possibility to add / remove the variables.
I imagine following workflows:
as precondition add the variable element described above to dashboard (assuming that this will be realized as some control visualization)
timelion / VTSB has defined offset, referencing to {{myOffset}}
simple workflow:
advanced workflow
As workaround we currently created an html page for entering timestamps to calculate the offset. Then we used a lot of logic to build timelion dashboards via a very very very ... long url.
This is the result in kibana (red line showing no / contender, gray line is showing baseline (offset))
Describe a specific use case for the feature:
The text was updated successfully, but these errors were encountered: