Getting Data In

Splunk Enterprise doesn't detect universal forwarder (linux)

dejanu
Loves-to-Learn

I have one machine with Splunk Enterprise and on another machines I've installed a universal forwarder. Even-though everything seems ok from the installation point of view, somehow  Spunk Enterprise does not detect the forwarder:

- In the Splunk Web interface I've  enabled receiving on port 9997 ( Splunk Web: Settings -> Forwarding and receiving )

- After installing the forwarder (linux) , I've started it from /bin :

./splunk start (accepted license)

./splunk add forward-server <splunk_web_server>:9997

# add a source

./splunk add monitor /var/log/auth.log -sourcetype linux_secure

./splunk restart

Am I missing something ? Thx

Labels (2)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @dejanu,

Possible options are;

1- On Splunk Enterprise machine, firewall may be blocking 9997 port access. Please check firewall.

2- Check internal logs for client host with;

index=_internal host=forwarder_hostname

3- If below steps are ok maybe there is permission problem. If you start UF on linux with splunk user, by default splunk user cannot read "/var/log/auth.log" file. You should give read permission to splunk user.

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...