Getting Data In

Problem with Syslog

nugetchar
Explorer

Hi everyone!

I'm posting here because I have a problem with Splunk:

I've got an application (The Grinder) which generate a lot of datas in some csv-files. This application is able, thanks to a file named "logback-worker.xml", to forward via the syslog protocol those datas.

So, I tried this:

I configured the "logback-worker.xml" file in order to forward the datas to an instance of the universal forwarder of splunk, to the port 7777. Then, on Splunk, I created a receiver to listen on port 9997. The idea is to receive datas on port 7777 and to forward it to the port 9997.

So, my question is: is there any special configuration I have to do with the inputs and outputs files?

I precise that I want to use TCP, not UDP.
Thanks in advance.

Tags (1)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Stock universal forwarders cannot listen to remote inputs like TCP / UDP / SplunkTCP (the splunk to splunk protocol).
they can only send to the indexer on splunktcp.

FYI a tcp input is in inputs.conf and looks like
[tcp://7777]
sourcetype=syslog

View solution in original post

nugetchar
Explorer

Thanks, I finally found a way to do what I wanted to do 🙂

0 Karma

yannK
Splunk Employee
Splunk Employee

Stock universal forwarders cannot listen to remote inputs like TCP / UDP / SplunkTCP (the splunk to splunk protocol).
they can only send to the indexer on splunktcp.

FYI a tcp input is in inputs.conf and looks like
[tcp://7777]
sourcetype=syslog

Get Updates on the Splunk Community!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...