How to generate scripted field dynamic


(ajit) #1

I am creating percentage as scripted field in kibana with hard coded columns or field values. But I need only those columns or fields which are selected in visualisation. So that I will get percentage on only selected fields. For this requirement I need dynamically values from only selected columns in visualisation.
This is my script ((doc['Math'].value+doc['English'].value)/200)*100
But if I select only Math column in visualisation then I should get percentage only for Math.
Meaning that I need only selected column values in visualisation in script dynamically.

Please provide solution.


(Matt Bargar) #2

It's not possible to dynamically update scripted fields at the moment.


(system) #3

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