# Iam trying to parse fortigate syslog to logstash

**URL:** <https://discuss.elastic.co/t/iam-trying-to-parse-fortigate-syslog-to-logstash/319059>\
**Category:** Logstash\
**Created:** [November 16, 2022, 10:55am UTC](https://discuss.elastic.co/t/iam-trying-to-parse-fortigate-syslog-to-logstash/319059 "2022-11-16T10:55:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasan.idriss](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@hasan.idriss](https://discuss.elastic.co/u/hasan.idriss)\
**Post date:** [November 16, 2022, 10:55am UTC](https://discuss.elastic.co/t/iam-trying-to-parse-fortigate-syslog-to-logstash/319059/1 "2022-11-16T10:55:04Z")

</div>

when i run the command:  
/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/fortigate.conf

I get the error :  
udp - UDP listener died {:exception=\>#\<Errno::EADDRINUSE: Address already in use - bind(2) for "192.168.150.240" port 5041

here is my config:  
input {  
udp{  
host =\> "192.168.150.240"  
port =\> 5041  
}

```
    }

```

filter {}

output {  
stdout {}

}

---

<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:** [December 14, 2022, 10:55am UTC](https://discuss.elastic.co/t/iam-trying-to-parse-fortigate-syslog-to-logstash/319059/2 "2022-12-14T10:55:17Z")

</div>

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