Getting Data In

Universal Forwarder from Linux to Windows Server

4Msplunk
New Member

Hi,
I am trying to set up a Universal Forwarder on a Linux box to send Security info to a Windows Server hosting Splunk.
I used the below command on the linux box after installing the univiersal forwarder:
./splunk add monitor /var/log/ - sourcetype syslog
But on the Windows Server,
All I see is messages like “x00\x5\x00\x4\xFF\x2\x1\x00”
I would like to see something more readable and preferable related to the security log.
Any suggestions?
Thanks.

Tags (2)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Make sure your indexer is set to receive forwarded data on that port, and is not set to receive data as a TCP/UDP input.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Or, in webinterface terms, Manager -> Forwarding and Receiving -> Configure receiving.

0 Karma

Ayn
Legend

Note that there is a difference between a raw TCP input and a TCP port for receiving forwarded data from another Splunk instance. In inputs.conf terms, you want a splunktcp input, not a tcp input.

0 Karma

4Msplunk
New Member

Hi,
Thank you for the reply, but I am set to receive data on a TCP port.

I had a similar problem with the Windows machines that I installed Universal Forwarder, but a commenter's reply to another post suggested changing the outputs.conf file's sendCookedData value from true to false, and like magic I could read the messages. But, it did not work on the Linux Universal Forwarder machine's outputs.conf file. I still got messages like \x00\x5\x00\x4\xFF\x2\x1\x00
Any Suggestions?
Thanks,

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...