# How to get the IP address of the HTTP request sender using logstash?

**URL:** https://discuss.elastic.co/t/how-to-get-the-ip-address-of-the-http-request-sender-using-logstash/78891
**Category:** Logstash
**Created:** [March 16, 2017, 3:21pm UTC](https://discuss.elastic.co/t/how-to-get-the-ip-address-of-the-http-request-sender-using-logstash/78891 "2017-03-16T15:21:46Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [March 17, 2017, 7:16am UTC](https://discuss.elastic.co/t/how-to-get-the-ip-address-of-the-http-request-sender-using-logstash/78891/8 "2017-03-17T07:16:20Z")

</div>

> I think host is the IP of the system that is running the Logstash.

The source code indicates otherwise.

> <https://github.com/logstash-plugins/logstash-input-http/blob/v3.0.3/lib/logstash/inputs/http.rb#L141>

This is very easy for you to verify. If you have evidence that it really is the IP address of the local host then please present them.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-get-the-ip-address-of-the-http-request-sender-using-logstash/78891)._
