# How to filter for queries?

**URL:** <https://discuss.elastic.co/t/how-to-filter-for-queries/238592>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [June 25, 2020, 3:53am UTC](https://discuss.elastic.co/t/how-to-filter-for-queries/238592 "2020-06-25T03:53:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [June 25, 2020, 3:53am UTC](https://discuss.elastic.co/t/how-to-filter-for-queries/238592/1 "2020-06-25T03:53:53Z")

</div>

Hello,  
I followed this knowledge article - [https://www.elastic.co/blog/monitoring-the-search-queries](https://www.elastic.co/blog/monitoring-the-search-queries)  
Not using logstash filtering, and I am getting all records from packetbeat.  
How can I recognise the query records?

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:** [July 23, 2020, 5:53am UTC](https://discuss.elastic.co/t/how-to-filter-for-queries/238592/2 "2020-07-23T05:53:54Z")

</div>

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