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!

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...