# Fails when running filebeat -e

**URL:** <https://discuss.elastic.co/t/fails-when-running-filebeat-e/193182>\
**Category:** Beats\
**Created:** [July 31, 2019, 4:38pm UTC](https://discuss.elastic.co/t/fails-when-running-filebeat-e/193182 "2019-07-31T16:38:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [July 31, 2019, 4:38pm UTC](https://discuss.elastic.co/t/fails-when-running-filebeat-e/193182/1 "2019-07-31T16:38:31Z")

</div>

Hello guys,

I have a small error when running Filebeat -e. I was successfully able to install and run Metricbeats, however there is an issue running filebeats.

this is the error i'm getting:  
2019-07-31T09:31:42.916-0700 INFO [monitoring] log/log.go:131 Stopping metrics logging.  
2019-07-31T09:31:42.916-0700 INFO instance/beat.go:418 filebeat stopped.  
2019-07-31T09:31:42.916-0700 ERROR instance/beat.go:877 Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to [http://53](http://53).\*\*\*\*\*\*\*\*\*\*\*:5601/api/status fails: fail to execute the HTTP GET request: Get [http://53](http://53).**:5601/api/status: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .  
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to [http://53](http://53).:5601/api/status fails: fail to execute the HTTP GET request: Get [http://53](http://53).**\*\*\*:5601/api/status: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .

Please help

---

<div class="post-metadata">

**Author:** ![dedemorton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dedemorton/32/84409_2.png) [@dedemorton](https://discuss.elastic.co/u/dedemorton)\
**Post date:** [July 31, 2019, 5:30pm UTC](https://discuss.elastic.co/t/fails-when-running-filebeat-e/193182/2 "2019-07-31T17:30:19Z")

</div>

Have you tried configuring the Kibana endpoint? It sounds like Filebeat is unable to connect. Try setting:

```auto
setup.kibana.host: "http://localhost:5601"

```

Replace `localhost` with the host where Kibana is running. See [https://www.elastic.co/guide/en/beats/filebeat/current/setup-kibana-endpoint.html:](https://www.elastic.co/guide/en/beats/filebeat/current/setup-kibana-endpoint.html:)

If this doesn't resolve your issue, please provide the following info:

- The version of Filebeat you're using
- Your config (formatted as code) with sensitive values removed

---

<div class="post-metadata">

**Author:** ![dedemorton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dedemorton/32/84409_2.png) [@dedemorton](https://discuss.elastic.co/u/dedemorton)\
**Post date:** [July 31, 2019, 6:36pm UTC](https://discuss.elastic.co/t/fails-when-running-filebeat-e/193182/4 "2019-07-31T18:36:43Z")

</div>

Please share your full configuration (contents of filebeat.yml) with sensitive values redacted. Make sure you format the config as code.

---

<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:** [August 28, 2019, 8:36pm UTC](https://discuss.elastic.co/t/fails-when-running-filebeat-e/193182/5 "2019-08-28T20:36:56Z")

</div>

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