# Syslog - logstash

**URL:** <https://discuss.elastic.co/t/syslog-logstash/113468>\
**Category:** Logstash\
**Created:** [December 28, 2017, 3:34pm UTC](https://discuss.elastic.co/t/syslog-logstash/113468 "2017-12-28T15:34:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![talial](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@talial](https://discuss.elastic.co/u/talial)\
**Post date:** [December 28, 2017, 3:34pm UTC](https://discuss.elastic.co/t/syslog-logstash/113468/1 "2017-12-28T15:34:26Z")

</div>

Hi,  
I want to crate a centralized logsys for networking.  
Will includ syslogs from Cisco, Juniper, Fortigate, F5, SmartEdge, Check-Point from a lot of machines.  
My problem is how to config the logstash.conf that will be able to get and grok the syslogs (thay are not the same pattern)

Thanks  
Talia

---

<div class="post-metadata">

**Author:** ![tatdat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatdat/32/113160_2.png) [@tatdat](https://discuss.elastic.co/u/tatdat)\
**Post date:** [December 29, 2017, 4:21am UTC](https://discuss.elastic.co/t/syslog-logstash/113468/2 "2017-12-29T04:21:13Z")

</div>

you can use [grok debug](http://grokdebug.herokuapp.com) for parse syslog

---

<div class="post-metadata">

**Author:** ![talial](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@talial](https://discuss.elastic.co/u/talial)\
**Post date:** [December 31, 2017, 10:02am UTC](https://discuss.elastic.co/t/syslog-logstash/113468/3 "2017-12-31T10:02:21Z")

</div>

Thanks,  
But how do I combine all the grok?

Maybe there is example for conf file for networking syslog files with different pattern?

Thanks,  
Talia

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 31, 2017, 1:12pm UTC](https://discuss.elastic.co/t/syslog-logstash/113468/4 "2017-12-31T13:12:30Z")

</div>

The grok filter documentation shows an example of how you specify multiple grok expressions in a single grok filter.

---

<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:** [January 28, 2018, 1:12pm UTC](https://discuss.elastic.co/t/syslog-logstash/113468/5 "2018-01-28T13:12:56Z")

</div>

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