# Filebeat to Kibana Connection Issue

**URL:** <https://discuss.elastic.co/t/filebeat-to-kibana-connection-issue/126943>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 5, 2018, 1:53pm UTC](https://discuss.elastic.co/t/filebeat-to-kibana-connection-issue/126943 "2018-04-05T13:53:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![echobb8](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@echobb8](https://discuss.elastic.co/u/echobb8)\
**Post date:** [April 5, 2018, 1:53pm UTC](https://discuss.elastic.co/t/filebeat-to-kibana-connection-issue/126943/1 "2018-04-05T13:53:53Z")

</div>

Hey all,

I have an Ubuntu VM running Elasticsearch and Kibana, and I'm trying to use Filebeat OSQuery module to pass OSQuery data to Elasticsearch. I enabled the OSQuery module on my client macOS system and am trying to run the initial setup:

`./filebeat setup --modules=osquery`

However, no matter what I try, I get the following:

```
Loaded index template
Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: fail to get the Kibana version:HTTP GET request to /api/status fails: fail to execute the HTTP GET request: Get http://172.16.16.23:5601/api/status: dial tcp 172.16.16.23:5601: getsockopt: connection refused. Response: .

```

So it seems to connect to Elasticsearch just fine, but never Kibana. Firewall is turned of on both now for testing, just FYI.

I'm running the latest versions of everything.

Missing something?

---

<div class="post-metadata">

**Author:** ![echobb8](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@echobb8](https://discuss.elastic.co/u/echobb8)\
**Post date:** [April 5, 2018, 2:32pm UTC](https://discuss.elastic.co/t/filebeat-to-kibana-connection-issue/126943/2 "2018-04-05T14:32:34Z")

</div>

Okay, I just figured out the issue here. I forgot I was using nginx on my ELK server and setup Kibana on port 80. I just needed to change the port and add auth details in the filebeat.yml file. All good.

---

<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 3, 2018, 2:32pm UTC](https://discuss.elastic.co/t/filebeat-to-kibana-connection-issue/126943/3 "2018-05-03T14:32:46Z")

</div>

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