I am trying to configure scripted filed in kibana (kibana-5.0.0_rc1-1.x86_64)
but the field does not show up in the list of fields for average aggregation
of line chart.
Field shows up in the discover so the setting seems to be ok.
Do I have any other setting that I need to set to use in the visualize ?