# Unable to load dashboards

**URL:** <https://discuss.elastic.co/t/unable-to-load-dashboards/160972>\
**Category:** Beats\
**Created:** [December 14, 2018, 9:00pm UTC](https://discuss.elastic.co/t/unable-to-load-dashboards/160972 "2018-12-14T21:00:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkevan](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jkevan](https://discuss.elastic.co/u/jkevan)\
**Post date:** [December 14, 2018, 9:00pm UTC](https://discuss.elastic.co/t/unable-to-load-dashboards/160972/1 "2018-12-14T21:00:28Z")

</div>

I'm Unable to load the dashboards from beats into my elasticsearch cluster (6.4.2) beats are all 6.4.2.

```auto
bin/journalbeat setup -e -E output.logstash.enabled=false -E output.elasticsearch.hosts=['IPADDRESS:9200', 'IPADDRESS:9200', 'IPADDRESS:9200', 'IPADDRESS:9200'] -E setup.kibana.host=IPADDRESS:5601

```

and I get this as a return

```auto
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse.(*flagParser).parseArray(0xc4204f76d8, 0x14ceb80, 0xc4204f75e0, 0xa0bb38, 0x7ffd0000002c)
        /go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse/parse.go:125 +0x413
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse.(*flagParser).parseValue(0xc4204f76d8, 0x15a4143, 0x1, 0xc4204f7658, 0xa0b981, 0x7ffd62efe7ea, 0x13)
        /go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse/parse.go:102 +0x22f
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse.(*flagParser).parse(0xc4204f76d8, 0x13, 0x7ffd62efe7ea, 0x13, 0x2)
        /go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse/parse.go:67 +0x7c
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse.Value(0x7ffd62efe7ea, 0x13, 0x15a414f, 0x1, 0x2, 0xc420459a60)
        /go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/internal/parse/parse.go:56 +0x78
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/flag.NewFlagKeyValue.func1(0x7ffd62efe7cf, 0x2e, 0x0, 0x93430f, 0xc4204f7880, 0x44e06af3, 0x83217252ce7ac6f5)
        /go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/flag/value.go:69 +0x2d3
github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/flag.(*FlagValue).Set(0xc420166060, 0x7ffd62efe7cf, 0x2e, 0x15a4156, 0xc4201c47d0)
        /go/src/github.com/elastic/beats/vendor/github.com/elastic/go-ucfg/flag/util.go:64 +0x42
github.com/elastic/beats/libbeat/common.(*SettingsFlag).Set(0xc420166060, 0x7ffd62efe7cf, 0x2e, 0x1, 0xc4201c4858)
        /go/src/github.com/elastic/beats/libbeat/common/flags.go:209 +0x3f
github.com/elastic/beats/vendor/github.com/spf13/pflag.(*FlagSet).Set(0xc42015c1e0, 0x15a4156, 0x1, 0x7ffd62efe7cf, 0x2e, 0x1e80b20, 0xc420214360)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/pflag/flag.go:432 +0xe2
github.com/elastic/beats/vendor/github.com/spf13/pflag.(*FlagSet).Parse.func1(0xc42046f860, 0x7ffd62efe7cf, 0x2e, 0xc420214370, 0x1)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/pflag/flag.go:1028 +0x54
github.com/elastic/beats/vendor/github.com/spf13/pflag.(*FlagSet).parseSingleShortArg(0xc42015c1e0, 0x7ffd62efe7cd, 0x1, 0xc42018e220, 0x6, 0x6, 0xc42021a490, 0x7ffd62efe7ac, 0x0, 0xc42018e210, ...)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/pflag/flag.go:964 +0x29d
github.com/elastic/beats/vendor/github.com/spf13/pflag.(*FlagSet).parseShortArg(0xc42015c1e0, 0x7ffd62efe7cc, 0x2, 0xc42018e220, 0x6, 0x6, 0xc42021a490, 0xc42018e210, 0x7, 0x7, ...)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/pflag/flag.go:974 +0xdb
github.com/elastic/beats/vendor/github.com/spf13/pflag.(*FlagSet).parseArgs(0xc42015c1e0, 0xc42018e220, 0x6, 0x6, 0xc42021a490, 0xa, 0xc42015c1e0)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/pflag/flag.go:1005 +0x707
github.com/elastic/beats/vendor/github.com/spf13/pflag.(*FlagSet).Parse(0xc42015c1e0, 0xc42018e1e0, 0xa, 0xa, 0x15a509b, 0x4)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/pflag/flag.go:1031 +0xfa
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).ParseFlags(0xc420246480, 0xc42018e1e0, 0xa, 0xa, 0xc4204f7df0, 0xd0a99d)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:1373 +0xb2
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).execute(0xc420246480, 0xc42018e1e0, 0xa, 0xa, 0xc420246480, 0xc42018e1e0)
        /go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:647 +0x91
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4203a4500, 0x0, 0x15f36d0, 0x0)
        /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(0xc4203a4500, 0xc4204f7f78, 0xc4200b4058)
        /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/journalbeat/main.go:16 +0x2f

```

any help is appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 11, 2019, 11:00pm UTC](https://discuss.elastic.co/t/unable-to-load-dashboards/160972/2 "2019-01-11T23:00:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
