# Specify a Reverse proxy endpoint in FileBeat configuration

**URL:** https://discuss.elastic.co/t/specify-a-reverse-proxy-endpoint-in-filebeat-configuration/48652
**Category:** Beats
**Tags:** filebeat
**Created:** [April 28, 2016, 8:59am UTC](https://discuss.elastic.co/t/specify-a-reverse-proxy-endpoint-in-filebeat-configuration/48652 "2016-04-28T08:59:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ramkchirra](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@ramkchirra](https://discuss.elastic.co/u/ramkchirra)
#### Post date: [April 28, 2016, 8:59am UTC](https://discuss.elastic.co/t/specify-a-reverse-proxy-endpoint-in-filebeat-configuration/48652/1 "2016-04-28T08:59:30Z")

</div>

Hi,  
I am very new to ELK stack. Actually i want to configure Filebeat(Client) in a way that it can directly talk to ElasticSearch present on a WebServer and whose endpoint is exposed through a Reverse proxy.

If i specify the / , it is always trying to hit the port 9200 like :9200/

How can i specify the EleasticSearch(using Reverse proxy mapping) related Configuration in FileBeat.yml file?

Please help.

Thanks and Regards,  
RK

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [April 28, 2016, 1:08pm UTC](https://discuss.elastic.co/t/specify-a-reverse-proxy-endpoint-in-filebeat-configuration/48652/2 "2016-04-28T13:08:22Z")

</div>

you can specify the port by adding `yourserver:80` to your host name.

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [April 28, 2016, 1:09pm UTC](https://discuss.elastic.co/t/specify-a-reverse-proxy-endpoint-in-filebeat-configuration/48652/3 "2016-04-28T13:09:53Z")

</div>

And you can specify `path` too if needed. [https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#path-option](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#path-option)

---

<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: [July 5, 2017, 9:52pm UTC](https://discuss.elastic.co/t/specify-a-reverse-proxy-endpoint-in-filebeat-configuration/48652/4 "2017-07-05T21:52:42Z")

</div>


