# Setup dashboards

**URL:** <https://discuss.elastic.co/t/setup-dashboards/238028>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [June 22, 2020, 7:51am UTC](https://discuss.elastic.co/t/setup-dashboards/238028 "2020-06-22T07:51:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dobby](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@dobby](https://discuss.elastic.co/u/dobby)\
**Post date:** [June 22, 2020, 7:51am UTC](https://discuss.elastic.co/t/setup-dashboards/238028/1 "2020-06-22T07:51:42Z")

</div>

When trying to set up dashboards for winlogbeat i get "Failed to import dashboard"

The error doesnt come if i never change the password for the users.  
So if i try with default "elastic" and "changeme" it works.

But after i have done  
`docker-compose exec -T elasticsearch bin/elasticsearch-setup-passwords auto --batch`

But after that it gives me 403 error.

Using the docker-compose from [https://github.com/deviantony/docker-elk](https://github.com/deviantony/docker-elk)

````auto
    .\winlogbeat.exe : Exiting: Failed to import dashboard: Failed to load directory C:\Users\user\Documents\winlogbeat\kibana/7/dashboard:
    At line:1 char:1
    + .\winlogbeat.exe setup --dashboards
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo : NotSpecified: (Exiting: Failed...na/7/dashboard::String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
     
      error loading C:\Users\user\Documents\winlogbeat\kibana\7\dashboard\01c54730-fee6-11e9-8405-516218e3d268.json: returned 403 to import file: <nil>. Response: {"statusCode":403,"error":"Forbidden","message":"Unable to bulk_cre
    ate dashboard,search,visualization"}
      error loading C:\Users\user\Documents\winlogbeat\kibana\7\dashboard\71f720f0-ff18-11e9-8405-516218e3d268.json: returned 403 to import file: <nil>. Response: {"statusCode":403,"error":"Forbidden","message":"Unable to bulk_cre
    ate dashboard,search,visualization"}
      error loading C:\Users\user\Documents\winlogbeat\kibana\7\dashboard\8223bed0-b9e9-11e9-b6a2-c9b4015c4baf.json: returned 403 to import file: <nil>. Response: {"statusCode":403,"error":"Forbidden","message":"Unable to bulk_cre
    ate dashboard,search,visualization"}
      error loading C:\Users\user\Documents\winlogbeat\kibana\7\dashboard\Winlogbeat-overview.json: returned 403 to import file: <nil>. Response: {"statusCode":403,"error":"Forbidden","message":"Unable to bulk_create dashboard,vis
    ualization"}
      error loading C:\Users\user\Documents\winlogbeat\kibana\7\dashboard\bb858830-f412-11e9-8405-516218e3d268.json: returned 403 to import file: <nil>. Response: {"statusCode":403,"error":"Forbidden","message":"Unable to bulk_cre
    ate dashboard,search,visualization"}
    ```
````

---

<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:** [July 20, 2020, 9:51am UTC](https://discuss.elastic.co/t/setup-dashboards/238028/2 "2020-07-20T09:51:52Z")

</div>

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