Adding together kibana timelion variables


(Aditya Gupta) #1

I am using a variable that holds a numeric value used later in the timelion script.

For simplicity, I have created a simple problem.

As you can see, I am using a variable threshold which holds my value. I want to reuse it inside label method.

I am able to use it by writing .label($threshold) , but appending the variable with string literal(shown in image) ignores the variable.

How should I achieve this?


(Thomas Neirynck) #2

@BlueSpirit

I don't think timelion scripts support this type of concatenation.

I would create an enhancement request https://github.com/elastic/kibana/issues/new


(Aditya Gupta) #3

Added a request here.