# Filebeat connection to elastic search

**URL:** <https://discuss.elastic.co/t/filebeat-connection-to-elastic-search/123387>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [March 10, 2018, 12:01pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elastic-search/123387 "2018-03-10T12:01:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanchan\_pingale](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kanchan\_pingale](https://discuss.elastic.co/u/kanchan_pingale)\
**Post date:** [March 10, 2018, 12:01pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elastic-search/123387/1 "2018-03-10T12:01:33Z")

</div>

I'm trying to connect filebeat which is running on windows to elasticsearch which is running on ubuntu i.e connection of filebeat and elasticsearch on two different machines.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [March 12, 2018, 4:06pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elastic-search/123387/2 "2018-03-12T16:06:13Z")

</div>

Hi @kanchan_pingale,

Filebeat -\> Elasticsearch connection uses HTTP, so it's ok if they are running on different machines. You just need to configure the output in the Filebeat side, filling the `hosts`field with the IP address of your Elasticsearch machine: [https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html)

---

<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:** [April 9, 2018, 4:06pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elastic-search/123387/3 "2018-04-09T16:06:24Z")

</div>

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