# Ingesting Packetbeat DNS

**URL:** <https://discuss.elastic.co/t/ingesting-packetbeat-dns/175700>\
**Category:** Logstash\
**Created:** [April 7, 2019, 5:52am UTC](https://discuss.elastic.co/t/ingesting-packetbeat-dns/175700 "2019-04-07T05:52:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Great](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@Great](https://discuss.elastic.co/u/Great)\
**Post date:** [April 7, 2019, 5:52am UTC](https://discuss.elastic.co/t/ingesting-packetbeat-dns/175700/1 "2019-04-07T05:52:30Z")

</div>

can anyone help me with ingesting DNS requesting using packetbeat in logstash .

im having the following filter and it keep tilling me client\_ip is missing

filter {  
if "packetbeat" in [tags] {  
dns {  
reverse =\> ["client\_ip"]  
action =\> "replace"  
hit\_cache\_size =\> "100"  
hit\_cache\_ttl =\> "180"  
}  
}  
}

regards

---

<div class="post-metadata">

**Author:** ![staodd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/staodd/32/24509_2.png) [@staodd](https://discuss.elastic.co/u/staodd)\
**Post date:** [April 7, 2019, 10:06pm UTC](https://discuss.elastic.co/t/ingesting-packetbeat-dns/175700/2 "2019-04-07T22:06:16Z")

</div>

And what does a line look like? And how does the rest of your config look?  
And PLEASE format your code.

---

<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:** [May 5, 2019, 10:06pm UTC](https://discuss.elastic.co/t/ingesting-packetbeat-dns/175700/3 "2019-05-05T22:06:17Z")

</div>

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