DataSource=EleasticSearch 5.x -> Scripted Field in Grafana

Hi,

How Can I integrate the following Elastic Search scripted field in Grafana:

“script_fields” : {

        "VoomIndexOld" : {"script" : "(Math.round(new Date().getTime()/1000)-(params['_source']['hostIndexVersion']/1000))/60"}
    }

Thanks,
Lp

1 Like

Hi,

Please see Scripted fields to concatenate field names and Basic Elastic Search Query.

Marcus