# How to get Host: field from tcpdump

**URL:** <https://discuss.elastic.co/t/how-to-get-host-field-from-tcpdump/103122>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [October 7, 2017, 5:53pm UTC](https://discuss.elastic.co/t/how-to-get-host-field-from-tcpdump/103122 "2017-10-07T17:53:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanderer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wanderer/32/55140_2.png) [@Wanderer](https://discuss.elastic.co/u/Wanderer)\
**Post date:** [October 7, 2017, 5:53pm UTC](https://discuss.elastic.co/t/how-to-get-host-field-from-tcpdump/103122/1 "2017-10-07T17:53:57Z")

</div>

New to Elasticsearch. How can we get the "host" field, as seen below in the sample from Wireshark, so we can view the data in Kibana?

Hypertext Transfer Protocol  
GET /some/url  
**Host: [www.someservername.com](http://www.someservername.com)\r\n**  
\<Host: [www.someservername.com](http://www.someservername.com)\r\n\>  
Connection: Keep-Alive\r\n  
\<Connection: Keep-Alive\r\n\>  
Accept-Encoding: gzip\r\n  
\<Accept-Encoding: gzip\r\n\>  
[HTTP request 1/1]  
[Response in frame: 162]

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [October 8, 2017, 11:39am UTC](https://discuss.elastic.co/t/how-to-get-host-field-from-tcpdump/103122/2 "2017-10-08T11:39:15Z")

</div>

I guess you're meaning the Host header field? Have you tried to enable `send_all_headers` in the HTTP plugin?

---

<div class="post-metadata">

**Author:** ![Wanderer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wanderer/32/55140_2.png) [@Wanderer](https://discuss.elastic.co/u/Wanderer)\
**Post date:** [October 8, 2017, 9:03pm UTC](https://discuss.elastic.co/t/how-to-get-host-field-from-tcpdump/103122/3 "2017-10-08T21:03:59Z")

</div>

That was it! Thanks!

---

<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:** [November 5, 2017, 9:04pm UTC](https://discuss.elastic.co/t/how-to-get-host-field-from-tcpdump/103122/4 "2017-11-05T21:04:14Z")

</div>

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