# Error setting up Dashboards with auditbeat

**URL:** <https://discuss.elastic.co/t/error-setting-up-dashboards-with-auditbeat/302591>\
**Category:** Elasticsearch\
**Created:** [April 18, 2022, 4:41am UTC](https://discuss.elastic.co/t/error-setting-up-dashboards-with-auditbeat/302591 "2022-04-18T04:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_tolu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_tolu/32/104466_2.png) [@b\_tolu](https://discuss.elastic.co/u/b_tolu)\
**Post date:** [April 18, 2022, 4:41am UTC](https://discuss.elastic.co/t/error-setting-up-dashboards-with-auditbeat/302591/1 "2022-04-18T04:41:58Z")

</div>

hi so i would run the background of all i have done i am trying to create a SIEM , so I installed Elasticsearch,kibana, and auditbeat . I have made all the right settings for me to be able to startup. My issue now is that when ii run this command "auditbeat -r setup" i get the following error. How can i fix this .

```auto
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
{"log.level":"info","@timestamp":"2022-04-17T21:19:19.190-0700","log.logger":"kibana","log.origin":{"file.name":"kibana/client.go","file.line":182},"message":"Kibana url: http://localhost:5601","service.name":"auditbeat","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-04-17T21:19:19.244-0700","log.origin":{"file.name":"instance/beat.go","file.line":1022},"message":"Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails: fail to execute the HTTP GET request: Get \"http://localhost:5601/api/status\": dial tcp 127.0.0.1:5601: connect: connection refused. Response: .","service.name":"auditbeat","ecs.version":"1.6.0"}
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails: fail to execute the HTTP GET request: Get "http://localhost:5601/api/status": dial tcp 127.0.0.1:5601: connect: connection refused. Response: .

```

---

<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:** [May 16, 2022, 4:42am UTC](https://discuss.elastic.co/t/error-setting-up-dashboards-with-auditbeat/302591/2 "2022-05-16T04:42:02Z")

</div>

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