BroadSoft-Xtended/BroadWorks-Dashboards-and-Discovery

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

Opened this issue · 1 comments

lon-r commented

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

Any updates on this issue?