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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...