Basic Elastic Search Query

I can write a new name instead of “@number” , & the script i added only the equation

doc['End_Time'].value - doc['timestamp'].value
but nothing happened!
is that possible here to type my own field name so it is get created ? also to calculate it’s value from other fields ?