fa系统安装成功了,也收集了几天的原始数据如图:

现在用命令跑7天的数据来看看,如果如下
[root@izj6c9ucnwnm673q0fiv6cz main]# go run fec-go-shell.go 7
2018/11/15 11:54:58 GetEngine complete
2018/11/15 11:54:58 Base Info GetEngine complete
2018/11/15 11:54:58 ------start:2018-11-15 11:54:58.930277319 +0800 CST m=+0.004168126
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/index.go:23: 2018-11-15 03:54:58 - Init Db Index Begin ...
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/index.go:31: 2018-11-15 03:54:58 - Init Db Index Complete ...
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:60: ###########
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:61: 7
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:85: 2018-11-15
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:86: mapReduceByDate ...
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:119: websiteId:
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:120: dae4af90-fd0f-4ea9-9814-c5fff8daa7ce
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:121: ###########
2018/11/15 11:54:58 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:122: OutWholeBrowserCollName
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:89: health check timeout: Head http://127.0.0.1:9200: dial tcp 127.0.0.1:9200: getsockopt: connection refused: no Elasticsearch node available
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:85: 2018-11-14
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:86: mapReduceByDate ...
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:119: websiteId:
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:120: dae4af90-fd0f-4ea9-9814-c5fff8daa7ce
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:121: ###########
2018/11/15 11:55:04 /root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:122: OutWholeBrowserCollName
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa68ac3]
goroutine 1 [running]:
github.com/olivere/elastic.(*Client).PerformRequest(0x0, 0x127dc60, 0xc4200140c0, 0xd95995, 0x4, 0xc4201feb00, 0x19, 0xc420209650, 0x0, 0x0, ...)
/root/go/src/github.com/olivere/elastic/client.go:1253 +0xe3
github.com/olivere/elastic.(*IndicesExistsService).Do(0xc42020e370, 0x127dc60, 0xc4200140c0, 0x1, 0xc42020e370, 0xdb09da)
/root/go/src/github.com/olivere/elastic/indices_exists.go:136 +0x169
github.com/fecshopsoft/fec-go/db/esdb.InitMapping(0xc4201fea60, 0x18, 0xda2990, 0x12, 0xdbf724, 0x622, 0x18, 0xc4202a5000)
/root/go/src/github.com/fecshopsoft/fec-go/db/esdb/default.go:72 +0x1a1
github.com/fecshopsoft/fec-go/shell/whole.BrowserMapReduct(0xc42024c9f0, 0x10, 0xc420016ed0, 0x2f, 0xc42001d2c0, 0x3d, 0xc420016e10, 0x24, 0x3d, 0x33)
/root/go/src/github.com/fecshopsoft/fec-go/shell/whole/browser.go:548 +0x3b3
github.com/fecshopsoft/fec-go/shell.mapReduceByDate(0xc42023c760, 0xa, 0x1, 0xc420250850)
/root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:156 +0x58a
github.com/fecshopsoft/fec-go/shell.MapReductAndSyncDataToEsMutilDay()
/root/go/src/github.com/fecshopsoft/fec-go/shell/mapReduct.go:87 +0x2c2
github.com/fecshopsoft/fec-go/shell.GoShell()
/root/go/src/github.com/fecshopsoft/fec-go/shell/index.go:18 +0x25
main.main()
/root/go/src/main/fec-go-shell.go:33 +0xdb
exit status 2
这算是命令运行成功了吧,可后台还是没有相关数据,后台的相关设置
一、已经添加了网站

二、go run fec-go-shell.go 7 运行成功后,后台还是空空的
是哪里有错吗?希望大佬解答下,也希望出一个fa系统使用说明