Display the X line on graph

I want to draw the line on graph. such as Maximum, minimum, average, limit
I trying to "index patterns" -> "scripted fields" on kibana.
I added scripted fields like
doc['ActTemp'].max()
or
doc['ActTemp'].max.

then discover page shown up error.
and i cannot add scripted fields on visualize graph.
and they ask me limit can be change.

please help

You cannot add any lines in Discover. For getting metrics like max, min, average, etc you need to use one of the Line Charts, Bar Charts or Area Charts. You can have as many metrics as you'd like in that chart.
If you want to have this chart and the list of documents on the same page, simply save the search in discover, create a dashboard and add both the saved search and the chart in the same dashboard.

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