Adding Dynamic Threshold Line in Timelion

Is there a way to create a line that changes level dynamically based on the value of a particular field in an index? Right now I have used .static() function to draw a straight line across my timelion chart but my use case requires that line to be dynamic.

You can't really change the line for the whole chart based on the value, but you can change it for time intervals, by having a metric line for the field you want to look at, and using fit=nearest will give you a stepped line.
Ex: .es(index="my*", fit=nearest)

Oh Alright.. thanks :slight_smile:

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