BroadSoft-Xtended / BroadWorks-Dashboards-and-Discovery

This repository contains the BroadWorks Dashboards and Discovery components to extend BroadWorks data mining, reporting, and analysis capabilities.
23 stars 4 forks source link

[Bug?] [Dashboards] "Answered Calls" Visualization Units #75

Open Zeal0us opened 5 years ago

Zeal0us commented 5 years ago

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.