# Syslog plugin multiple grok

**URL:** <https://discuss.elastic.co/t/syslog-plugin-multiple-grok/252665>\
**Category:** Logstash\
**Created:** [October 20, 2020, 10:27am UTC](https://discuss.elastic.co/t/syslog-plugin-multiple-grok/252665 "2020-10-20T10:27:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mutt13y](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mutt13y/32/74962_2.png) [@mutt13y](https://discuss.elastic.co/u/mutt13y)\
**Post date:** [October 20, 2020, 10:27am UTC](https://discuss.elastic.co/t/syslog-plugin-multiple-grok/252665/1 "2020-10-20T10:27:13Z")

</div>

Hi,  
The syslog plugin parameter grok\_pattern only accepts a string.  
Is there a reason it cant be changed to accept a list ?

Currently we have to trap for parse failure and parse alternate patterns manually.

---

<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:** [November 17, 2020, 10:27am UTC](https://discuss.elastic.co/t/syslog-plugin-multiple-grok/252665/2 "2020-11-17T10:27:24Z")

</div>

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