[Bug?] [Dashboards] "Answered Calls" Visualization Units
Opened this issue · 0 comments
Zeal0us commented
calculated_callduration in bwcdr* appears to be in minutes, and is used by the "Answered Calls" Visualization to aggregate total call time and average duration. The numeral format in the guide results in this field being formatted in seconds as a result. Putting this script in "Answered Calls" Input JSON for the two relevant metrics gets the number back to seconds:
{
"script": {
"inline": "doc['calculated_callduration'].value * 60",
"lang": "painless"
}
}
Although I would imagine the seconds field could be used instead, and formatting added in kibana - but I'm not sure if that will break other visualizations somewhere.