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


#1

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


#2

Hi,

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

Marcus