We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting metricbeat master with this config:
metricbeat.modules: - module: system enabled: true period: 1m metricsets: - filesystem filters: - drop_event.when.regexp.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)' output.elasticsearch.hosts: ["localhost:9200"]
Causes a panic in the master branch:
2017/05/16 12:35:21.928875 beat.go:262: INFO metricbeat start running. panic: assignment to entry in nil map goroutine 53 [running]: github.com/elastic/beats/libbeat/publisher.(*client).annotateEvent(0xc42031b140, 0x0) /Users/tsg/src/github.com/elastic/beats/libbeat/publisher/client.go:180 +0xe0 github.com/elastic/beats/libbeat/publisher.(*client).PublishEvent(0xc42031b140, 0x0, 0x0, 0x0, 0x0, 0x1) /Users/tsg/src/github.com/elastic/beats/libbeat/publisher/client.go:99 +0x50 github.com/elastic/beats/metricbeat/mb/module.PublishChannels.func1(0xc420318c00) /Users/tsg/src/github.com/elastic/beats/metricbeat/mb/module/publish.go:25 +0xd4 created by github.com/elastic/beats/metricbeat/mb/module.PublishChannels /Users/tsg/src/github.com/elastic/beats/metricbeat/mb/module/publish.go:32 +0xec
But works with 5.4.1
The issue seems related to the filter, which results in a nil event.
nil
The text was updated successfully, but these errors were encountered:
We used to have nil checks at
beats/metricbeat/mb/module/wrapper.go
Lines 284 to 286 in 91970fd
Sorry, something went wrong.
Fix panic on Metricbeat filters
d37a052
`nil` can happen if the event is dropped by processors. Fixes elastic#4327.
Fix panic on Metricbeat filters (#4328)
8bec232
`nil` can happen if the event is dropped by processors. Fixes #4327.
No branches or pull requests
Starting metricbeat master with this config:
Causes a panic in the master branch:
But works with 5.4.1
The issue seems related to the filter, which results in a
nil
event.The text was updated successfully, but these errors were encountered: