Fails when running filebeat -e

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.***********:5601/api/status fails: fail to execute the HTTP GET request: Get 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.
:5601/api/status fails: fail to execute the HTTP GET request: Get http://53.
***:5601/api/status: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .

Please help

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

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:

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

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

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