# Sidewinder Firewall Syslog

**URL:** https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387
**Category:** Logstash
**Created:** [April 25, 2018, 1:53am UTC](https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387 "2018-04-25T01:53:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lcguy](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@lcguy](https://discuss.elastic.co/u/lcguy)
#### Post date: [April 25, 2018, 1:53am UTC](https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387/1 "2018-04-25T01:53:08Z")

</div>

Hi All,

Thanks for helping me sort out my previous issue which is about FortiGate firewall [FortiGate Firewall](https://discuss.elastic.co/t/fortigate-firewall/129245/11)

I have another one which is Sidewinder firewall.  
Can anyone guide me which is the simple way to parse in logstash.

Here is sample Syslog. I would like to extract source ip, dstip, srcport, dstport, dst\_geo, application,etc.

```
          <133>Oct 30 00:02:02 sw1 auditd: date="2013-10-30 05:02:02 +0000",fac=f_dns_proxy,area=a_proxy,type=t_nettraffic,pri=p_major,pid=2083,logid=0,cmd=dnsp,hostname=sw1.dtc.local,event="session end",netsessid=686a0527092ca,srcip=10.38.1.28,srcport=61132,srczone=internal,protocol=17,dst_geo=RU,dstip=83.xx4.xx.228,dstport=53,dstzone=external,bytes_written_to_client=185,bytes_written_to_server=42,rule_name="Outbound Web_4",cache_hit=1,start_time="2013-10-30 05:02:02 +0000",application=DNS

           <133>Oct 30 01:22:20 sw1 auditd: date="2013-10-30 06:22:20 +0000",fac=f_dns_proxy,area=a_proxy,type=t_nettraffic,pri=p_major,pid=2083,logid=0,cmd=dnsp,hostname=sw1.dtc.local,event="session end",netsessid=3ea405270a59c,srcip=10.38.1.28,srcport=61132,srczone=internal,protocol=17,dst_geo=US,dstip=4.53.58.200,dstport=53,dstzone=external,bytes_written_to_client=241,bytes_written_to_server=41,rule_name="Outbound Web_4",cache_hit=1,start_time="2013-10-30 06:22:20 +0000",application=DNS
```

---

<div class="post-metadata">

### Author: ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)
#### Post date: [April 25, 2018, 4:26am UTC](https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387/2 "2018-04-25T04:26:38Z")

</div>

Hi John,

This can be done using the KV filter in logstash. Have you tried this out?

[https://www.elastic.co/guide/en/logstash/current/plugins-filters-kv.html](https://www.elastic.co/guide/en/logstash/current/plugins-filters-kv.html)

Regards,  
N

---

<div class="post-metadata">

### Author: ![lcguy](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@lcguy](https://discuss.elastic.co/u/lcguy)
#### Post date: [April 25, 2018, 5:01am UTC](https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387/3 "2018-04-25T05:01:08Z")

</div>

Thanks, Nerd. Let me try with previous kv filter and see. Hope it will works.

---

<div class="post-metadata">

### Author: ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)
#### Post date: [April 25, 2018, 10:39am UTC](https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387/4 "2018-04-25T10:39:22Z")

</div>

Sure!

Also, here is a repo for some Security specific logstash configuration files. 🙂

> **[NerdSec/logstash](https://github.com/NerdSec/logstash)**
>
> logstash - Logstash configuration files

---

<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 23, 2018, 10:39am UTC](https://discuss.elastic.co/t/sidewinder-firewall-syslog/129387/5 "2018-05-23T10:39:24Z")

</div>

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