# Setup for kibana dashboards: fail to get the Kibana version

**URL:** <https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [January 4, 2018, 2:38pm UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111 "2018-01-04T14:38:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![derikss](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@derikss](https://discuss.elastic.co/u/derikss)\
**Post date:** [January 4, 2018, 2:38pm UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/1 "2018-01-04T14:38:21Z")

</div>

Hi,

I get this error message when trying to import the dashboard for winlogbeat in to kibana.

(winlogbeat-6.1.1-windows-x86\_64)

.\winlogbeat.exe setup --dashboards  
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://MY\_KIBANA: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":"MY\_KIBANA","version":"5.2.2"," (truncated)

Please can anyone point me in the right direction?

---

<div class="post-metadata">

**Author:** ![Bozzerreaneaux](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bozzerreaneaux/32/21613_2.png) [@Bozzerreaneaux](https://discuss.elastic.co/u/Bozzerreaneaux)\
**Post date:** [January 12, 2018, 8:44am UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/2 "2018-01-12T08:44:51Z")

</div>

Getting the same error with Kibana 5.6.0 and and Heartbeat 6.1.1

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [January 12, 2018, 12:42pm UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/3 "2018-01-12T12:42:53Z")

</div>

Could you please share your config?

---

<div class="post-metadata">

**Author:** ![jdambly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jdambly/32/44286_2.png) [@jdambly](https://discuss.elastic.co/u/jdambly)\
**Post date:** [January 12, 2018, 8:32pm UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/4 "2018-01-12T20:32:00Z")

</div>

I am having the same issue, here is a more detailed log

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](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:](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:](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)

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [January 18, 2018, 11:07am UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/5 "2018-01-18T11:07:52Z")

</div>

What is your Kibana version?  
It is possible that you are encountering this issue: [https://github.com/elastic/beats/issues/6090](https://github.com/elastic/beats/issues/6090)

---

<div class="post-metadata">

**Author:** ![derikss](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@derikss](https://discuss.elastic.co/u/derikss)\
**Post date:** [January 19, 2018, 8:21am UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/6 "2018-01-19T08:21:55Z")

</div>

> [@derikss](#):
>
> 5.2.2

I installed winlogbeat 5.2.2 the day after I encountered this problem, and that version works just fine with my setup.  
It looks like there is some backward compatibility problems with older versions of kibana regarding the dashboard setup in winlogbeat-6.1.1.

---

<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:** [February 16, 2018, 8:22am UTC](https://discuss.elastic.co/t/setup-for-kibana-dashboards-fail-to-get-the-kibana-version/114111/7 "2018-02-16T08:22:00Z")

</div>

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