# How to filter all in KQL

**URL:** <https://discuss.elastic.co/t/how-to-filter-all-in-kql/248908>\
**Category:** Kibana\
**Created:** [September 17, 2020, 4:40am UTC](https://discuss.elastic.co/t/how-to-filter-all-in-kql/248908 "2020-09-17T04:40:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![syafeera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syafeera/32/47173_2.png) [@syafeera](https://discuss.elastic.co/u/syafeera)\
**Post date:** [September 17, 2020, 4:40am UTC](https://discuss.elastic.co/t/how-to-filter-all-in-kql/248908/1 "2020-09-17T04:40:49Z")

</div>

HI all,

may i know how i want to filter all panw.panos.threat.id in KQL?

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 17, 2020, 7:06am UTC](https://discuss.elastic.co/t/how-to-filter-all-in-kql/248908/2 "2020-09-17T07:06:51Z")

</div>

Can you elaborate on what exactly you are trying to achieve? If you want to filter out all document which have a threat id, you can use this: `NOT panw.panos.threat.id:*`

---

<div class="post-metadata">

**Author:** ![syafeera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syafeera/32/47173_2.png) [@syafeera](https://discuss.elastic.co/u/syafeera)\
**Post date:** [September 17, 2020, 7:28am UTC](https://discuss.elastic.co/t/how-to-filter-all-in-kql/248908/3 "2020-09-17T07:28:32Z")

</div>

I have try using NOT panw.panos.threat.id:\* but its not appear all threat id. However, its appear other than threat id.. So, i change the KQL to panw.panos.threat.id:\* and its working..

---

<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:** [October 15, 2020, 7:28am UTC](https://discuss.elastic.co/t/how-to-filter-all-in-kql/248908/4 "2020-10-15T07:28:42Z")

</div>

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