# Stop filter processing of the event on condition match and jump to output

**URL:** <https://discuss.elastic.co/t/stop-filter-processing-of-the-event-on-condition-match-and-jump-to-output/305673>\
**Category:** Logstash\
**Created:** [May 26, 2022, 7:17am UTC](https://discuss.elastic.co/t/stop-filter-processing-of-the-event-on-condition-match-and-jump-to-output/305673 "2022-05-26T07:17:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![esuser27](https://avatars.discourse-cdn.com/v4/letter/e/a587f6/32.png) [@esuser27](https://discuss.elastic.co/u/esuser27)\
**Post date:** [May 26, 2022, 7:17am UTC](https://discuss.elastic.co/t/stop-filter-processing-of-the-event-on-condition-match-and-jump-to-output/305673/1 "2022-05-26T07:17:44Z")

</div>

Hi Team,

I want to know if there is any way to stop my filter processing of the event on condition match and jump to output

for ex

```auto
if [log] == "parsed" {

stop processing next filter portion and jump to output

}

```

---

<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:** [May 26, 2022, 4:14pm UTC](https://discuss.elastic.co/t/stop-filter-processing-of-the-event-on-condition-match-and-jump-to-output/305673/2 "2022-05-26T16:14:32Z")

</div>

Only by wrapping all the filters after that point in that conditional.

---

<div class="post-metadata">

**Author:** ![esuser27](https://avatars.discourse-cdn.com/v4/letter/e/a587f6/32.png) [@esuser27](https://discuss.elastic.co/u/esuser27)\
**Post date:** [May 26, 2022, 4:35pm UTC](https://discuss.elastic.co/t/stop-filter-processing-of-the-event-on-condition-match-and-jump-to-output/305673/3 "2022-05-26T16:35:16Z")

</div>

Thanks You Sir,

Understood,

Sometimes have so many conditional to manage, such functionality can help to reduce the checks.

I will keep exploring options.

Best,  
Dhananjay

---

<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:** [June 23, 2022, 4:36pm UTC](https://discuss.elastic.co/t/stop-filter-processing-of-the-event-on-condition-match-and-jump-to-output/305673/4 "2022-06-23T16:36:17Z")

</div>

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