Import Winlogbeats dashboards to hosted Kibana

Hi All,

Very much a n00b with this ELK business.. so this may be a very simple question.

I have setup winlogbeats on a single windows server (for now).
I have also setup Elastic Cloud and enabled Kibana.

While following the directions here: https://www.elastic.co/guide/en/beats/winlogbeat/current/winlogbeat-sample-dashboards.html

I am not having any luck:
PS D:\winlogbeat> scripts\import_dashboards.exe -es https://KIBANAENDPOINT.aws.found.io -use
r elastic -pass PASSWORD
fail to set the mapping. Error: 404 Not Found
Create temporary directory C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875
Downloading https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.2.0.zip
Unzip archive C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875
C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2.0\filebeat
C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2.0\heartbeat
C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2.0\metricbeat
C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2.0\packetbeat
C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2.0\winlogbeat
Import directory C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2.0\winlogbeat/index-pattern
Import index to /.kibana/index-pattern/winlogbeat-* from C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashb
oards-5.2.0\winlogbeat\index-pattern\winlogbeat.json
ERROR: couldn't load json. Error: 404 Not Found
fail to import index-pattern: fail to load directory C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboard
s-5.2.0\winlogbeat/index-pattern: error loading C:\Users\ADMINI~1\AppData\Local\Temp\4\tmp792047875\beats-dashboards-5.2
.0\winlogbeat\index-pattern\winlogbeat.json: couldn't load json. Error: 404 Not Found

I have also tried manually uploading dashboards from the jsons zip file created above (through the Kibana GUI - Dashboards, open, manage dashboards, import .. and nothing happens..

Any tips?

Thanks in Advance..

The argument to -es should be the Elasticsearch endpoint, not the Kibana endpoint.

1 Like

Hand... meet face....

Thanks Tim - much better result!! :slight_smile:

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