Hi,
I'm using a DSL script to extract some datas.
I use an aggregation with an average method. It's ok, but the end result does not suit me
Indeed, the result format is like this 5133.076923076923 and I would like to get something like that 5133,07
Therefore, two decimal characters and a comma instead of the point.
My question is : is it possible to code the format of the result ?
A part of my code :
"aggs": {
"duration_moy": {
"avg": {
"field": "total.start.duration"
}
Thanks.
Rick