Kibana: Feature request- Variable assignment in Timelion

Created on 12 Dec 2017  路  5Comments  路  Source: elastic/kibana

Describe the feature:
Variable assignment should be possible in Timelion. Usually, some graphs include several time series and most of the time the same time series under different "conditions". It would be useful to be able to assign a variable(s) to them and then be able to refer to that (those) variable(s). For example:
a = .es(indexname, timefield, metric, split_condition), a.label("Some label"), a.if(gt, a.derivative(), 1, null), a.holt(alpha, betta, gamma, seasonality)

Timelion KibanaApp enhancement

Most helpful comment

I also would like this feature. Would make it so much easier to right involved graphs that repeat big functions over and over

All 5 comments

more background can be found at https://github.com/elastic/timelion/issues/87

Yes. Yet, there is a variable assignment in a text form, var a = "some text" and is referenced only as text.
It would be great to be able to assign the entire timelion function to some variable

I also would like this feature. Would make it so much easier to right involved graphs that repeat big functions over and over

Any update ?

I want to plot two different time series alongside their difference and it's a pain to copy and paste them. Is there any other solution?

Would love to see that too, please !

Was this page helpful?
0 / 5 - 0 ratings