How to add filters on healthmetric in json input

Hello,
we use kibana 5.1.1 & elasticsearch 5.1.1 with gauge-sg et health metric plugins.
I am trying to filter in the construction of my visualization the values a zero of the deconnected people.
Would you have a track to communicate to me?
Below the request sent and the reply received
thank you in advance

request
{
"query": {
"query_string": {
"query": "",
"analyze_wildcard": true
}
},
"size": 0,
"_source": {
"excludes": []
},
"aggs": {
"2": {
"terms": {
"field": "nomPrenom.keyword",
"size": 500,
"order": {
"1": "desc"
}
},
"aggs": {
"1": {
"sum": {
"script": {
"inline": "doc['dureePasLibreJour'].value
100/doc['dureeConnexion'].value",
"lang": "expression"
}
}
}
}

}

}
}

Hi @mehdichilla,

I'm sorry but I'm not following the question. Would you mind explaining a different way, perhaps using some example data or annotated screenshots?

Thanks,

Shaunak

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.