Getting Data In

Unviersal Forwarder without an app

htkhtk
Path Finder

Basically I want to be able to send JBoss server logs from one linux machine to another using the Splunk Universal Forwarder.

What do i need to configure?

  1. I installed the splunk universal forwarder on the linux machine with JBoss.
  2. I set up the receiving machine to listen on port 9997.

I also want the logs to go to a particular index.

Do I set up the monitor? Which side do monitors get set up? Which side does inputs.conf need updated?

Tags (1)
0 Karma
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

You'd need to set up a monitor stanza inside of your inputs.conf on the Universal forwarder where the files that you'd like to monitor exist. You would specify the index in inputs.conf on your universal forwarder. This will route the data into the index, presuming it exists, on the Indexer/Receiver you've configured.

View solution in original post

jbsplunk
Splunk Employee
Splunk Employee

You'd need to set up a monitor stanza inside of your inputs.conf on the Universal forwarder where the files that you'd like to monitor exist. You would specify the index in inputs.conf on your universal forwarder. This will route the data into the index, presuming it exists, on the Indexer/Receiver you've configured.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Reuse: Word-play

This puzzle series (first published here) is based on analysing words.Some of the statements in your puzzle ...

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...