# Range Filter

**URL:** <https://discuss.elastic.co/t/range-filter/201843>\
**Category:** Logstash\
**Created:** [October 1, 2019, 4:47pm UTC](https://discuss.elastic.co/t/range-filter/201843 "2019-10-01T16:47:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Chirillo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony_chirillo/32/22647_2.png) [@Tony\_Chirillo](https://discuss.elastic.co/u/Tony_Chirillo)\
**Post date:** [October 1, 2019, 4:47pm UTC](https://discuss.elastic.co/t/range-filter/201843/1 "2019-10-01T16:47:25Z")

</div>

With the Logstash range filter, is it possible to use a wildcard to target all similarly name fields? For example, instead of listing out all the event\_data fields one by one, I want to target all of them - something like event\_data.\*

Also, does the range filter drop the entire event, or just the targeted number of characters?

filter {  
range {  
ranges =\> ["[event\_data][param12]", 256, 1e1000, "drop",  
"[event\_data][param12]", 256, 1e1000, "tag:long"]

---

<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:** [October 1, 2019, 5:16pm UTC](https://discuss.elastic.co/t/range-filter/201843/2 "2019-10-01T17:16:03Z")

</div>

No, you cannot use wildcards. It drops the entire event if the action is drop.

---

<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 29, 2019, 5:16pm UTC](https://discuss.elastic.co/t/range-filter/201843/3 "2019-10-29T17:16:08Z")

</div>

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