Timelion- assign a time series to a variable and then refer to it using that variable

Hey there! I am creating time-series forecast using holt() and other functions. The thing is, my conditions and query are too long and for every function I have to add the same time-series as an arguments again. Is it possible to declare a variable which contains the desired time series and then inside the functions to refer to that variable? What i want to do, looks like this:
a = .es(indexname, metric, timefield, splitting_condition), a.if(some if function body), a.trend(), a.holt() and etc..


I don't believe that is currently possible, but it sounds useful. I encourage you to file a feature request here https://github.com/elastic/kibana/issues.

1 Like

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