# Having issues in logging syslog to Graylog UI

**URL:** https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207
**Category:** Graylog Central (peer support)
**Created:** [October 2, 2019, 7:01pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207 "2019-10-02T19:01:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rajesh3254](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@rajesh3254](https://community.graylog.org/u/rajesh3254)
#### Post date: [October 2, 2019, 7:01pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/1 "2019-10-02T19:01:02Z")

</div>

All,

I am new to Graylog and i am not able to send the logs to Graylog UI.  
I am running Graylog, Elastic search and Mongo DB on the same server. I have the UI running in the same server as well.  
I was able to access the UI successfully and was able to create the Input successfully, as syslog UDP via port 5140. I used my server IP (x.x.x.x) as the bind address.  
But i dont see any messages flowing into graylog.  
I added the below in the syslog-ng.conf and restarted it:  
destination d\_NET { udp(“x.x.x.x” port(5140)); };  
log { source(s\_syslog); destination(d\_NET); };

Please let me know, what i am missing here. Any help would be appreciated.

Graylog logs:  
2019-10-02T14:33:54.614-04:00 INFO [InputStateListener] Input [Syslog UDP/5d94ed92a0aa6389dd70ccc3] is now RUNNING

Mongo DB:  
tcp 0 0 x.x.x.x:27017 0.0.0.0:\* LISTEN

Elastic search:  
tcp6 0 0 x.x.x.x:9200 :::\* LISTEN

---

<div class="post-metadata">

### Author: ![rajesh3254](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@rajesh3254](https://community.graylog.org/u/rajesh3254)
#### Post date: [October 2, 2019, 7:03pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/2 "2019-10-02T19:03:00Z")

</div>

I am using Linux server on RHEL 7.7

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [October 4, 2019, 5:47am UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/3 "2019-10-04T05:47:52Z")

</div>

and what Graylog version did you use?

---

<div class="post-metadata">

### Author: ![rajesh3254](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@rajesh3254](https://community.graylog.org/u/rajesh3254)
#### Post date: [October 4, 2019, 4:05pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/4 "2019-10-04T16:05:11Z")

</div>

Graylog 3.1.

Commands used:  
rpm -Uvh [https://packages.graylog2.org/repo/packages/graylog-3.1-repository\_latest.rpm](https://packages.graylog2.org/repo/packages/graylog-3.1-repository_latest.rpm)  
yum install graylog-server

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [October 4, 2019, 7:54pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/5 "2019-10-04T19:54:23Z")

</div>

as you use udp - you need to check. Could you send a log message via shell direct to graylog and check if that arrived. If not, check firewall or similar.

---

<div class="post-metadata">

### Author: ![zoulja](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/zoulja/32/3603_2.png) [@zoulja](https://community.graylog.org/u/zoulja)
#### Post date: [October 5, 2019, 1:37pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/6 "2019-10-05T13:37:01Z")

</div>

whether both hosts are in the same network?  
do you see any packets in tcpdump?  
check the output of `lsof -Pni :5140`

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [October 19, 2019, 1:37pm UTC](https://community.graylog.org/t/having-issues-in-logging-syslog-to-graylog-ui/12207/7 "2019-10-19T13:37:04Z")

</div>

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