Hello all,
I am newer to grafana so this might be a silly question that I am just missing. I am trying to have a SingleStat panel (within grafana) display the value of a field from a ELK document. I would like to map the SingleStat value to the number found within the field “Exptime”. I can get my grafana SingleStat to display the count of documents sent but I need it to display the last documents value of “Exptime”. Is this possible?
Document from ELK: (I cleaned out hostnames and IP’s :-).
{
"_index": “health-2018.02.26”,
"_type": “health”,
"_id": “AWHThA6R6_mj73XdkMJy”,
"_version": 1,
"_score": null,
"_source": {
“severity”: “notice”,
“ldaphost”: “MYHOSTNAME”,
“programname”: “ldap-check”,
“procid”: “-”,
“message”: " LDAPCERT, STATUS=ERROR, Expire=47, ldaphost=MYHOSTNAME",
“type”: “health”,
“tags”: [
“ldapcheck”
],
“STATUS”: “ERROR”,
"@timestamp": “2018-02-26T19:08:21.000Z”,
"@version": “1”,
“host”: “MYIPADDRESS”,
“sysloghost”: “MYHOSTNAME”,
“facility”: “user”,
“Exptime”: “47”
},
“fields”: {
"@timestamp": [
1519672101000
]
},
“highlight”: {
“programname”: [
"@kibana-highlighted-field@ldap@/kibana-highlighted-field@-@kibana-highlighted-field@check@/kibana-highlighted-field@"
],
“message”: [
" @kibana-highlighted-field@LDAPCERT@/kibana-highlighted-field@, STATUS=ERROR, Expire=47, ldaphost=MYHOSTNAME"
]
},
“sort”: [
1519672101000
]
}