Getting Data In

Basic steps to configure universal forwarder (4.2)

yuriy_zubarev
Engager

No migrations, no upgrade, installing forwarders from the ground up.

from splunkd.log

**ERROR TcpOutputProc - LightWeightForwarder/UniversalForwarder not configured. Please configure outputs.conf**

etc/system/local/outputs.conf

[tcpout]
defaultGroup = splunk
server = log1:9997
compressed=true

etc/system/local/deploymentclient.conf

[target-broker:deploymentServer]
targetUri = log1:9997

etc/system/local/inputs.conf

[monitor:///[my folder path]/splunk-test]
disabled = false
followTail = 0
index = default

Splunk on log1 works fine.

Tags (1)
1 Solution

mslvrstn
Communicator

I think the issue is that you don't have a stanza corresponding to your defaultGroup. According to the docs, in that case you are disabling automatic forwarding.

I would make your output.conf look more like:

[tcpout]
defaultGroup = splunk

[tcpout:splunk]
disabled = false
server = log1:9997
compressed = true

View solution in original post

mslvrstn
Communicator

I think the issue is that you don't have a stanza corresponding to your defaultGroup. According to the docs, in that case you are disabling automatic forwarding.

I would make your output.conf look more like:

[tcpout]
defaultGroup = splunk

[tcpout:splunk]
disabled = false
server = log1:9997
compressed = true

yuriy_zubarev
Engager

Anybody? All I want to have universal forwarder forward log files to a central installation of Splunk on a different host. I noticed some other "forwarder" questions are not answered here. Nobody knows how they work?

0 Karma
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!

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 ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...