# Http input logstash I want filter logs

**URL:** <https://discuss.elastic.co/t/http-input-logstash-i-want-filter-logs/307724>\
**Category:** Logstash\
**Created:** [June 21, 2022, 7:04am UTC](https://discuss.elastic.co/t/http-input-logstash-i-want-filter-logs/307724 "2022-06-21T07:04:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Matt\_Murphy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_murphy/32/108004_2.png) [@Matt\_Murphy](https://discuss.elastic.co/u/Matt_Murphy)\
**Post date:** [July 6, 2022, 11:37pm UTC](https://discuss.elastic.co/t/http-input-logstash-i-want-filter-logs/307724/2 "2022-07-06T23:37:12Z")

</div>

[related article](https://discuss.elastic.co/t/if-conditional-with-multiple-outputs/178201)

Give that a read, it'll get you most of the way there. As you will surmise, your conditional will need to be whatever field or array element holds your http method. I think mine are usually just [http][request][method], but you'll want to check your GROK strings to figure out how yours are stored.

---

_[View the full topic](https://discuss.elastic.co/t/http-input-logstash-i-want-filter-logs/307724)._
