# Prune filter does not work

**URL:** https://discuss.elastic.co/t/prune-filter-does-not-work/299274
**Category:** Logstash
**Created:** [March 10, 2022, 1:24am UTC](https://discuss.elastic.co/t/prune-filter-does-not-work/299274 "2022-03-10T01:24:58Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 10, 2022, 2:53am UTC](https://discuss.elastic.co/t/prune-filter-does-not-work/299274/2 "2022-03-10T02:53:00Z")

</div>

The documentation for the prune filter notes that

> This filter currently only support operations on top-level fields, i.e. whitelisting and blacklisting of subfields based on name or value does not work.

See also [this](https://discuss.elastic.co/t/ruby-filter-to-whitelist-nested-fields/298424/2) post.

---

_[View the full topic](https://discuss.elastic.co/t/prune-filter-does-not-work/299274)._
