Scripted Field not showing Expression Language in Kibana

I am not getting expression language in scripted field.
I am using kibana 7.11 version.

I want to perform sum on two fields but getting error

AFAIK only painless is supported.

Can you share the error message?
Also in 7.11.0 we introduced runtime fields. They are much better integrated. You should consider using these. However they also using painless to be defined.

Sir uploaded screenshots above, while adding two field I am getting "Script is Invalid. View script preview for details" but my code is correct as you can see above in the screenshot.

Could you share what you see when you open the details? We can't help you without the underlaying error message.

1 Like