BroadSoft-Xtended/BroadWorks-Dashboards-and-Discovery

Question : BroadSoft Dashboards and Discovery toolkit - Data stablization period

Opened this issue · 4 comments

We have currently deployed the BroadSoft Dashboards and Discovery toolkit using the Radius to ES for Tier3 lookup for problem resolution.

Working on a project that require near time CDR inspection I use the "timestamp" property to pull CDRs that arrive in a given range (gte and lte). I see results that that are troubling

timestamp property is ms epoch of 5 hours + UTC. Yet rest of the data like starttime, answertime etc are UTC
GETs totals from ES for the same range asked repeated every second shows gradual increase and takes about 10 minutes to 15 minute stablize. Our project needs to be within 1 minute of the event.
I am hoping that there is a reason and possible resolution or worksround to this.

Thanks

BG

The timestamp element in the document is actually the starttime of the CDR. I'm surprised that it it showing different timezone than the starttime element - it perhaps is because in the index template the timestamp is typed as "keyword" instead of a date type - which is probably wrong. I'll try and look at that this week.

There was no great reason we chose the starttime for the timestamp.. Based on your comment, I believe you'd want to search / fetch based on the releasetime.

David,

I finally figured out my issue and wanted to see if there was another element in the document that could help me.

My app that requires to get ALL records inserted into ES over 1 second in time, queries ES for a given timespan second, 20 seconds before to be exact assuming the timestamp element is the "insert" datetime. If that is not the case and timestamp is literally the epoch of starttime then ofcourse additional Alive and Stop records will come in later with the same starttime and timestamp.

In order to get all records from ES I will have to glean 3 groups Start = stasrtime, Alive = Answertime and Stop = Releasetime for that second. That way I pull in all teh records

Is that the only way I could get all record that came in for that given second?

BG

It would be ideal to have a "inserttimestamp". That way we just pickup cdrs as they come in or have a stamp as to when we got the record.