In created a script field in kibana->Index Patter->Create script field with script is doc['kf4'].value + '-' + doc['kf5'].value
When I save the field, it tells me that 'Script is invalid.'
Please refer to below screenshot below:
Below is the data in elk for kf4 and kf5
Can you please advice what wrong with the syntax?