# Filebeat setup error at kibana

**URL:** <https://discuss.elastic.co/t/filebeat-setup-error-at-kibana/285626>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [September 30, 2021, 7:38pm UTC](https://discuss.elastic.co/t/filebeat-setup-error-at-kibana/285626 "2021-09-30T19:38:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnikh15](https://avatars.discourse-cdn.com/v4/letter/v/91b2a8/32.png) [@vnikh15](https://discuss.elastic.co/u/vnikh15)\
**Post date:** [September 30, 2021, 7:38pm UTC](https://discuss.elastic.co/t/filebeat-setup-error-at-kibana/285626/1 "2021-09-30T19:38:06Z")

</div>

Hi Everyone ,

I am trying to display filebeat\* indices at kibana but the file beat setup is giving below error:-

error connecting to kibana: fail to get the kibana version: http get request to h "[http://localhost:5601/api/status](http://localhost:5601/api/status)": eof. response: . exiting: error connecting to kibana: fail to get the kibana version

Below is my filebeat.yml (config ) for Elasticsearch & kibana

```auto
# =================================== Kibana ===================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana.host: "https://localhost:5601"

  # Kibana Host
  # Scheme and port can be left out and will be set to the default (http and 5601)
  # In case you specify and additional path, the scheme is required: http://localhost:5601/path
  # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
  #host: "localhost:5601"

  # Kibana Space ID
  # ID of the Kibana Space into which the dashboards should be loaded. By default,
  # the Default Space will be used.
  #space.id:

# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
  # Array of hosts to connect to.
# hosts: ["x.y.z.p:9200"]

# output.elasticsearch:
# Array of hosts to connect to.
# hosts: ["https://x.y.z.p:9200"]
  hosts: ["https://x.y.z.p:9200"]
  ssl.certificate_authorities: ["/etc/elasticsearch/certs/elastic-stack-ca-non-prod.crt"]
  #ssl.certificate: "/etc/elasticsearch/certs/elastic-stack-ca-non-prod.crt"
  #ssl.key: "/etc/elasticsearch/certs/elastic-stack-ca-non-prod.key"

  # Protocol - either `http` (default) or `https`.
  # protocol: "https"
  # Authentication credentials - either API key or username/password.
  api_key: "abc"
  # password: " ****"

```

Any help please?

Note - I am running es 7.14 version on Linux ec2 machine (say host xyz ) however I am running kibana through docker container which is running on host xyz only

Also my filebeat 7.15 version is running on host xyz

I can see filebeat\* indices which have created at Elasticsearch which is running on host xyz but kibana setup is giving error

Please advice on the above kibana beat setup error

thank you

Nikhil

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 30, 2021, 9:47pm UTC](https://discuss.elastic.co/t/filebeat-setup-error-at-kibana/285626/2 "2021-09-30T21:47:20Z")

</div>

Welcome to our community! 😃

Please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<div class="post-metadata">

**Author:** ![vnikh15](https://avatars.discourse-cdn.com/v4/letter/v/91b2a8/32.png) [@vnikh15](https://discuss.elastic.co/u/vnikh15)\
**Post date:** [October 1, 2021, 5:28am UTC](https://discuss.elastic.co/t/filebeat-setup-error-at-kibana/285626/3 "2021-10-01T05:28:28Z")

</div>

Thank you @warkolm I am new to Elasticseach & this community, I have corrected the format now

---

<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:** [October 29, 2021, 7:29am UTC](https://discuss.elastic.co/t/filebeat-setup-error-at-kibana/285626/4 "2021-10-29T07:29:17Z")

</div>

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