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

[postprocessors_20180423] panic: ES FS API failure: json: cannot unmarshal object into Go struct field SearchHits.total of type int64 #98

Open lon-r opened 4 years ago

lon-r commented 4 years ago

When running any of the post processing applications I get panic's like: $ ./processxsindices 2020/01/31 13:55:32 /home/brian/Documents/workspaces/goanalyt-test1/build/src/broadsoft/dashboard/logs/logging.go:12: logging setup panic: ES FS API failure: json: cannot unmarshal object into Go struct field SearchHits.total of type int64 goroutine 1 [running]: broadsoft/dashboard/indexutil.EsGetIndexAggData(0x873f60, 0xc420010250, 0xc4200f4000, 0xc420011718, 0x6, 0xc420011740, 0xc, 0xc42004bdd8, 0x410a78, 0x30) /home/brian/Documents/workspaces/goanalyt-test1/build/src/broadsoft/dashboard/indexutil/fieldstatagg.go:22 +0xc32 broadsoft/dashboard/indexutil.(*CentralizedIndexFinder).GetOrderedIndicesMinDateAscending(0xc42004bef8, 0x873f60, 0xc420010250, 0xc4200f4000, 0xc42001a080, 0x2004be28, 0xc42004beb8) /home/brian/Documents/workspaces/goanalyt-test1/build/src/broadsoft/dashboard/indexutil/centralized_index_finder.go:22 +0x75 main.main() /home/brian/Documents/workspaces/goanalyt-test1/build/src/broadsoft/dashboard/mains/processxsindices/process_xs_indices_main.go:37 +0x310

lon-r commented 4 years ago

Any updates on this issue?