I have configured a constant value in scripted field in index pattern in Kibana. My goal is to set threshold value in the line chart of visualization
However, field name "test" does not appear in the line chart of y axis even though I set average as aggregation. The field shows up in discover so setting seems to be all right.
I have also enabled the script security setting in elasticsearch but still does not work.
script.inline: true
script.stored: true
script.file: true
Below is my kibana and elasticsearch version.
kibana-5.0.0_rc1-1.x86_64
elasticsearch-5.0.0_rc1-1.noarch
Do I have any other setting to enable to use scripted field in line chart?