Kibana 5.6 - Error importing Kibana dashboards: fail to get the Kibana version


(Jeff d'Ambly) #1

for some reason I cannot load the sample dashboard, and ideas on how I can fix this? I am using kibana 5.6

ansible@atlas01:~$ sudo /usr/share/auditbeat/bin/auditbeat setup -E setup.dashboards.kibana_index=.kibana-5.x -E setup.dashboards.enabled=true -E setup.dashboards.always_kiaba=true --dashboards -path.config /etc/auditbeat -e
2018/01/12 20:29:57.046938 beat.go:436: INFO Home path: [/usr/share/auditbeat/bin] Config path: [/etc/auditbeat] Data path: [/usr/share/auditbeat/bin/data] Logs path: [/usr/share/auditbeat/bin/logs]
2018/01/12 20:29:57.047062 metrics.go:23: INFO Metrics logging every 30s
2018/01/12 20:29:57.047173 beat.go:443: INFO Beat UUID: 357c5057-48e9-4b38-899a-512760f837aa
2018/01/12 20:29:57.047217 beat.go:203: INFO Setup Beat: auditbeat; Version: 6.1.1
2018/01/12 20:29:57.048061 module.go:76: INFO Beat name: atlas01
2018/01/12 20:29:57.048188 cfgwarn.go:11: WARN BETA: The audit.kernel metricset is a beta feature
2018/01/12 20:29:57.049021 cfgwarn.go:23: WARN EXPERIMENTAL: The audit.file metricset is an experimental feature
2018/01/12 20:29:57.049263 client.go:69: INFO Kibana url: http://kibana01.mgt.sv5.nskope.net:5601
2018/01/12 20:29:57.058554 beat.go:635: CRIT Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: fail to get the Kibana version:fail to unmarshal the response from GET http://kibana01.mgt.sv5.nskope.net:5601/api/status: json: cannot unmarshal string into Go struct field kibanaVersionResponse.version of type struct { Number string "json:\"number\""; Snapshot bool "json:\"build_snapshot\"" }. Response: {"name":"kibana01","version":"5.6.5","buildNum":15592,"buildSha":"80f98787eb860a4e7ef9b6500cf84b65e331d1fc","uuid":"dd391d64-8a93-4821-a09a-5ed999f4e38b","status":{"overall":{"state":"green","title":"Green","nickname":"Looking good","icon":"success",... (truncated)
Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: fail to get the Kibana version:fail to unmarshal the response from GET http://kibana01.mgt.sv5.nskope.net:5601/api/status: json: cannot unmarshal string into Go struct field kibanaVersionResponse.version of type struct { Number string "json:\"number\""; Snapshot bool "json:\"build_snapshot\"" }. Response: {"name":"kibana01","version":"5.6.5","buildNum":15592,"buildSha":"80f98787eb860a4e7ef9b6500cf84b65e331d1fc","uuid":"dd391d64-8a93-4821-a09a-5ed999f4e38b","status":{"overall":{"state":"green","title":"Green","nickname":"Looking good","icon":"success",... (truncated)

(Andrew Kroh) #2

Looks like there's a typo in the CLI args.


(Andrew Kroh) #3

I hit the same issue today.