Getting Data In

splunk for logging syslog traffic over network(tcp)

randommac
Engager

Hello,

 I am trying to receive syslog messages from another host over the network using tcp. I am receiving periodic messages over udp. But if I remove udp port listening and enable tcp port listening for these syslog messages, I don't receive any. I am using it in a virtual environment. 

Splunk is deployed on a centOS 5 VM that is listening for another linux VM's syslog.

Any suggestions would help.

Tags (2)

Ayn
Legend

This sounds like a configuration issue with the source device rather than a Splunk issue. You need to configure the device to send syslog over TCP. How you do this will vary from device to device (some may not even support sending syslog over TCP), so refer to the device's manual for information on how to do that.

randommac
Engager

Hi Ayn,

Yes, In the source device apart from the TCP port that splunk is listening on, I haven't made any changes. How do I tell the source device to send syslog over TCP?
0 Karma

Ayn
Legend

If I understand you correctly you are receiving UDP syslog messages, and when you stop listening for these and instead listen for TCP syslog messages, you are no longer getting the UDP syslog messages? I'm guessing you changed the settings on the source devices too so that they are really sending syslog over TCP, but you're not saying that anywhere. Please confirm.

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...