# Winlogbeat export Dashboard with Xpack

**URL:** <https://discuss.elastic.co/t/winlogbeat-export-dashboard-with-xpack/225415>\
**Category:** Beats\
**Created:** [March 27, 2020, 1:32pm UTC](https://discuss.elastic.co/t/winlogbeat-export-dashboard-with-xpack/225415 "2020-03-27T13:32:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xennn](https://avatars.discourse-cdn.com/v4/letter/x/7bcc69/32.png) [@xennn](https://discuss.elastic.co/u/xennn)\
**Post date:** [March 27, 2020, 1:32pm UTC](https://discuss.elastic.co/t/winlogbeat-export-dashboard-with-xpack/225415/1 "2020-03-27T13:32:32Z")

</div>

Hello,

i want to export the Dashboards from winlogbeat and import the json to Kibana.  
I have a ELK Stack Setup and cant use the normal command from the documentation.  
The Stack is almost encrypted with ssl xpack. Kibana Service is not required for ssl.

`PS C:\Program Files (x86)\Winlogbeat\winlogbeat> .\winlogbeat export dashboard > dashboard.json Error creating Kibana client: fail to get the Kibana version: HTTP GET request to http://10.2.111.1:5601/api/status fail s: <nil>. Response: {"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}..`

Serverlog:

`SERVER kibana[15001]: {"type":"response","@timestamp":"2020-03-27T13:08:56Z","tags":["api"],"pid":15001,"method":"get","statusCode":401,"req":{"url":"/api/status","method":"get","headers":{"host":"10.2.111.1:5601","user-agent":"Go-http-client/1.1","accept":"application/json","content-type":"application/json","kbn-xsrf":"1","accept-encoding":"gzip"},"remoteAddress":"10.2.30.174","userAgent":"10.2.30.174"},"res":{"statusCode":401,"responseTime":57,"contentLength":9},"message":"GET /api/status 401 57ms - 9.0B"}`

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 29, 2020, 11:55pm UTC](https://discuss.elastic.co/t/winlogbeat-export-dashboard-with-xpack/225415/2 "2020-03-29T23:55:56Z")

</div>

That would suggest that you need to use a username and password to authenticate to Kibana.

---

<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:** [April 27, 2020, 1:55am UTC](https://discuss.elastic.co/t/winlogbeat-export-dashboard-with-xpack/225415/3 "2020-04-27T01:55:58Z")

</div>

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