Hi All,
I have an issue with packetbeat... I installed packetbeat and wanted to monitor my mysql traffic. From the moment packetbeat records a transaction. It crashed and stopped the service. No transactions where made.
So I went on for the moment and installed packetbeat on a webserver. Here the same thing happens with the same main error: panic: runtime error: index out of range
The rest of the output (also the same):
goroutine 34 [running]:
github.com/elastic/beats/vendor/github.com/nranchev/go-libGeoIP.(*GeoIP).lookupByIPNum(0xc821156990, 0xc80ace0379, 0xc82137fa78)
/go/src/github.com/elastic/beats/vendor/github.com/nranchev/go-libGeoIP/libgeo.go:295 +0x29e
github.com/elastic/beats/vendor/github.com/nranchev/go-libGeoIP.(*GeoIP).GetLocationByIPNum(0xc821156990, 0xace0379, 0xc80ace0379)
/go/src/github.com/elastic/beats/vendor/github.com/nranchev/go-libGeoIP/libgeo.go:211 +0x36
github.com/elastic/beats/vendor/github.com/nranchev/go-libGeoIP.(*GeoIP).GetLocationByIP(0xc821156990, 0xc82114ecd0, 0xc, 0xc82137fa68)
/go/src/github.com/elastic/beats/vendor/github.com/nranchev/go-libGeoIP/libgeo.go:205 +0x41
github.com/elastic/beats/libbeat/publisher.updateEventAddresses(0xef9660, 0xc8212846f0, 0x9f5630)
/go/src/github.com/elastic/beats/libbeat/publisher/preprocess.go:174 +0xa26
github.com/elastic/beats/libbeat/publisher.(*preprocessor).onMessage(0xc821158ca0, 0xc820010000, 0x0, 0x0, 0xc8212846f0, 0x0, 0x0, 0x0)
/go/src/github.com/elastic/beats/libbeat/publisher/preprocess.go:49 +0xb60
github.com/elastic/beats/libbeat/publisher.(*messageWorker).run(0xc820016d80)
/go/src/github.com/elastic/beats/libbeat/publisher/worker.go:57 +0x220
created by github.com/elastic/beats/libbeat/publisher.(*messageWorker).init
/go/src/github.com/elastic/beats/libbeat/publisher/worker.go:47 +0xdf
goroutine 1 [chan receive]:
main.(*Packetbeat).Run(0xc8204a4480, 0xc821280000, 0x0, 0x0)
/go/src/github.com/elastic/beats/packetbeat/packetbeat.go:227 +0xbe
github.com/elastic/beats/libbeat/beat.(*Beat).Run(0xc821280000)
/go/src/github.com/elastic/beats/libbeat/beat/beat.go:136 +0x31c
main.main()
/go/src/github.com/elastic/beats/packetbeat/main.go:40 +0x3b1
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 35 [select]:
github.com/elastic/beats/libbeat/publisher.(*messageWorker).run(0xc821156ba0)
/go/src/github.com/elastic/beats/libbeat/publisher/worker.go:53 +0x245
created by github.com/elastic/beats/libbeat/publisher.(*messageWorker).init
/go/src/github.com/elastic/beats/libbeat/publisher/worker.go:47 +0xdf
goroutine 36 [select]:
github.com/elastic/beats/libbeat/common.(*Cache).StartJanitor.func1(0xc820056d40, 0xc820056d00)
/go/src/github.com/elastic/beats/libbeat/common/cache.go:219 +0x102
created by github.com/elastic/beats/libbeat/common.(*Cache).StartJanitor
/go/src/github.com/elastic/beats/libbeat/common/cache.go:227 +0x91
goroutine 37 [select]:
github.com/elastic/beats/libbeat/common.(*Cache).StartJanitor.func1(0xc820056dc0, 0xc820056d80)
/go/src/github.com/elastic/beats/libbeat/common/cache.go:219 +0x102
created by github.com/elastic/beats/libbeat/common.(*Cache).StartJanitor
/go/src/github.com/elastic/beats/libbeat/common/cache.go:227 +0x91
...
Any idea?