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!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...