# filebeat setup --pipelines --modules system
Exiting: (assert) config is nil
Trace:goroutine 1 [running]:
runtime/debug.Stack(0x1785394, 0xb, 0xc4205c3360)
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg.raiseCritical(0x1860060, 0xc4200b8c60, 0xc42058b520, 0x16, 0xc42017aba0, 0xc420211620)
/go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/error.go:151 +0x66
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg.raiseNil(0x1860060, 0xc4200b8c60, 0x4, 0xc420245200)
/go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/error.go:264 +0x3d
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg.(*Config).Unpack(0x0, 0x156f620, 0xc42000c1c0, 0xc4202783c0, 0x4, 0x4, 0x101, 0xc42000c1c0)
/go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/reify.go:130 +0x1fb
github.com/elastic/beats/libbeat/common.(*Config).Unpack(0x0, 0x156f620, 0xc42000c1c0, 0x14e9a11, 0x160bc20)
/go/src/github.com/elastic/beats/libbeat/common/config.go:180 +0x63
github.com/elastic/beats/libbeat/outputs.ReadHostList(0x0, 0x160bc20, 0x188dcc0, 0x167a7c0, 0x188dc00, 0x14e9a03)
/go/src/github.com/elastic/beats/libbeat/outputs/hosts.go:33 +0x88
github.com/elastic/beats/libbeat/outputs/elasticsearch.NewElasticsearchClients(0x0, 0xc42023a790, 0xc4204633a8, 0x0, 0x0, 0x0)
/go/src/github.com/elastic/beats/libbeat/outputs/elasticsearch/elasticsearch.go:234 +0x43
github.com/elastic/beats/libbeat/outputs/elasticsearch.NewConnectedClient(0x0, 0x5, 0xc42048e320, 0x5)
/go/src/github.com/elastic/beats/libbeat/outputs/elasticsearch/elasticsearch.go:208 +0x43
github.com/elastic/beats/filebeat/beater.(*Filebeat).setupPipelineLoaderCallback.func1(0x0, 0x17df448, 0x1866100)
/go/src/github.com/elastic/beats/filebeat/beater/filebeat.go:166 +0x40
github.com/elastic/beats/libbeat/cmd/instance.(*Beat).Setup.func1(0xc4200deb40, 0x17df448, 0x1000000, 0x0, 0x0)
/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:521 +0x37c
github.com/elastic/beats/libbeat/cmd/instance.(*Beat).Setup(0xc4200deb40, 0x17df448, 0x1000000, 0x0, 0x0)
/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:537 +0x66
github.com/elastic/beats/libbeat/cmd.genSetupCmd.func1(0xc42022c6c0, 0xc42023a580, 0x0, 0xb)
/go/src/github.com/elastic/beats/libbeat/cmd/setup.go:64 +0x269
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).execute(0xc42022c6c0, 0xc420274200, 0xb, 0x10, 0xc42022c6c0, 0xc420274200)
/go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:704 +0x2c6
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4200f8280, 0x0, 0xc4200f8280, 0x178276f)
/go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:785 +0x2e4
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4200f8280, 0xc4204e7f78, 0xc4200ae058)
/go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:738 +0x2b
main.main()
/go/src/github.com/elastic/beats/x-pack/filebeat/main.go:22 +0x2f
#
also, per my early comment, there was no error running without --module system
part.