I'm using Kibana 5.5.1
I want to convert serveAvg (currently in seconds) to Minutes and Seconds.
Currently i managed to convert to Minutes only using below script
"inline1": "doc['serveAvg'].value / 60",
for example serveAve = 217.671
when convert using above script it gave me 3.628
i want the result to be 3 minutes and 38 seconds. Can anyone please help me to solve this prob. Tq