# Grok filter for different inputs

**URL:** <https://discuss.elastic.co/t/grok-filter-for-different-inputs/176797>\
**Category:** Logstash\
**Created:** [April 14, 2019, 7:59pm UTC](https://discuss.elastic.co/t/grok-filter-for-different-inputs/176797 "2019-04-14T19:59:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mysterious\_Ze](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@Mysterious\_Ze](https://discuss.elastic.co/u/Mysterious_Ze)\
**Post date:** [April 14, 2019, 7:59pm UTC](https://discuss.elastic.co/t/grok-filter-for-different-inputs/176797/1 "2019-04-14T19:59:26Z")

</div>

Hello  
On one of my web server, i have also installed fail2ban.

My question is 🙂

1. how to configure filebeat for several inputs
2. on my logstash, how to assign appropriate grok filters for apache and the fail2ban

Thanks

---

<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:** [May 12, 2019, 7:59pm UTC](https://discuss.elastic.co/t/grok-filter-for-different-inputs/176797/2 "2019-05-12T19:59:32Z")

</div>

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