Winlogbeat export Dashboard with Xpack

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"}

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

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