ELASTICSEARCH %.X scripted fields don't read from GRAFANA

Hi,
I have an index on ElasticSearch and i add a field “pocessing_time” from the difference between two fields:

  • executed_at
  • started_at
  • processing_time: (doc[‘executed_at’].date.secondOfDay - doc[‘started_at’].date.secondOfDay)

I try to read with GRAFANA this scripted field “processing_time” but don’t see it.

GRAFANA cannot query scripted fields?

tnks
ILIO