2020-10-15T20:51:58.373Z INFO [monitoring] log/log.go:154 Uptime: 8.7036773s
2020-10-15T20:51:58.373Z INFO [monitoring] log/log.go:131 Stopping metrics logging.
2020-10-15T20:51:58.373Z INFO runtime/panic.go:975 metricbeat stopped.
2020-10-15T20:51:58.373Z FATAL [metricbeat] instance/beat.go:164 Failed due to panic. {"panic": "runtime error: invalid memory address or nil pointer dereference", "stack": "github.com/elastic/beats/v7/libbeat/cmd/instance.Run.func1.1\n\t/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:165\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:969\nruntime.panicmem\n\t/usr/local/go/src/runtime/panic.go:212\nruntime.sigpanic\n\t/usr/local/go/src/runtime/signal_unix.go:695\ngithub.com/elastic/beats/v7/libbeat/processors/add_docker_metadata.(*addDockerMetadata).Close\n\t/go/src/github.com/elastic/beats/libbeat/processors/add_docker_metadata/add_docker_metadata.go:216\ngithub.com/elastic/beats/v7/libbeat/processors.Close\n\t/go/src/github.com/elastic/beats/libbeat/processors/processor.go:57\ngithub.com/elastic/beats/v7/libbeat/publisher/processing.(*group).Close\n\t/go/src/github.com/elastic/beats/libbeat/publisher/processing/processors.go:88\ngithub.com/elastic/beats/v7/libbeat/publisher/processing.(*builder).Close\n\t/go/src/github.com/elastic/beats/libbeat/publisher/processing/default.go:369\ngithub.com/elastic/beats/v7/libbeat/cmd/instance.(*Beat).launch.func1\n\t/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:376\ngithub.com/elastic/beats/v7/libbeat/cmd/instance.(*Beat).launch\n\t/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:461\ngithub.com/elastic/beats/v7/libbeat/cmd/instance.Run.func1\n\t/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:189\ngithub.com/elastic/beats/v7/libbeat/cmd/instance.Run\n\t/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:190\ngithub.com/elastic/beats/v7/libbeat/cmd.genRunCmd.func1\n\t/go/src/github.com/elastic/beats/libbeat/cmd/run.go:36\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864\nmain.main\n\t/go/src/github.com/elastic/beats/x-pack/metricbeat/main.go:21\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}
Version: 7.10.0 BC2
Operating System: Linux (Docker)
Steps to Reproduce:
consoleoutput for simpler test case).docker stop ...in a separate window.Observed behavior: Metricbeat shuts down but the
add_docker_metadataprocessor seems to panic.Expected behavior: No panic.