# Domain name missing in Http fields in packetbeat

**URL:** <https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [September 30, 2015, 3:16pm UTC](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421 "2015-09-30T15:16:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarunsapra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tarunsapra/32/3903_2.png) [@tarunsapra](https://discuss.elastic.co/u/tarunsapra)\
**Post date:** [September 30, 2015, 3:16pm UTC](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421/1 "2015-09-30T15:16:15Z")

</div>

Hi,

I am using packetbeat for network monitoring, in the JSON o/p of http requests I noticed that in the Http sniffing, the fields only contain the json data like -

```
           "method": "GET",
           "params": "",
           "path": "/news/xyzabc",

```

The query (GET /news/xyzbc) and Response time as well as the server IP is provided in the output but I can't find the field **domain name**. Am I missing something here or is it the expected output? As without domain name it would be hard to create graphs in Kibana for showing the sites visited. Thanks.

---

<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:** [September 30, 2015, 6:59pm UTC](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421/2 "2015-09-30T18:59:04Z")

</div>

Hi @tarunsapra,

The domain name is sent in an HTTP request as the "Host" header. So you must enable this in your configuration. See [Domain name missing in Http fields in packetbeat](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421).

```auto
protocols:
  http:
    ports: [80, 8080, 8000, 5000, 8002]
    send_headers: ["Host"]

```

---

<div class="post-metadata">

**Author:** ![nile\_black](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nile_black/32/8328_2.png) [@nile\_black](https://discuss.elastic.co/u/nile_black)\
**Post date:** [March 7, 2016, 3:06pm UTC](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421/3 "2016-03-07T15:06:18Z")

</div>

why i got just IP, not domain?

---

<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:** [March 7, 2016, 3:35pm UTC](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421/4 "2016-03-07T15:35:52Z")

</div>

Please start a new thread for your issue.

---

<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:54pm UTC](https://discuss.elastic.co/t/domain-name-missing-in-http-fields-in-packetbeat/31421/5 "2017-07-05T21:54:51Z")

</div>


