Create scripted field

Hi ,
how can i create this scripted field.

i want to calculate the avg of "price".

any help please!

Hello, where is the example sourced from and which Kibana version are you using? You may find this thread useful Scripted field in kibana (count)

i use kibana 7.7.0

i create a scripted field with the fuction sum and it's work fine.
l

my goal is to calculate fields from documents and use the results of this calculation in visualizations ! how can i acheive this

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