Arithmetic operation on 2 time based fields

let’s say Elastic has this documents:
{ …

how to write query in grafana to perform subtract timestamp_1 field from timestamp_2 field to get time length?

i think this related to this feature request. do you know if now it’s supported?

[Feature request] Allow Script filed with timestamp #8899