Getting Data In

Why are there no logs received when the universal forwarder is sending data to a search head?

aalaa
Path Finder

hello, i have a problem with the universal forwarder, i set up a universal forwarder to send to a search head splunk but i have not received any log

0 Karma

splunk_sv
Path Finder

Is your issue fixed?

0 Karma

splunk_sv
Path Finder

If you are not able to see any logs on the Splunk search head, the possible issue can be,

  • Splunk indexer is not enabled to listen to the forwarding port.
  • The Splunk forwarder is not able to talk with the Splunk indexer.

Firstly, If you have followed every step to set up a forwarder then probably you would have completed the first step.

Secondly, you need to check the forward-server status of your Splunk forwarder using the below-given command,

splunk list forward-server

It will show the list of forward-servers configured and they will be categorized under two categories "Active forwards" and "Configured but inactive forwards".
If your forward-server is listed under the latter then, you should check your Splunk forwarder's logs to find out the particular reason.

Note:
- The log file is stored under /var/log/splunk/splunkd.log

If you see any error you can post it here, so that we can help you with that too.

You can find more information related to universal forwarder setup at the below link,
https://docs.splunk.com/Documentation/Forwarder/7.2.6/Forwarder/Configuretheuniversalforwarder

Hope it helps.

0 Karma

aalaa
Path Finder

thank you for your response !
my forward server is listed under "Active forwards" but no log

0 Karma

splunk_sv
Path Finder

Check your log file /var/log/splunk/splunkd.log
Does it show any errors?

0 Karma

vishaltaneja070
Motivator

@aalaa,

Didn't get you. As UF is used to send data to Indexer not SF.
And also can you share the inputs.conf and outputs.conf file on UF.

0 Karma

aalaa
Path Finder

no log also at the indexer

0 Karma

vishaltaneja070
Motivator

Can you please share inputs.conf and outputs.conf on forwarder?

0 Karma

aalaa
Path Finder

sorry i can't , it's confidentiel !
but can you tell me what i should do ?

0 Karma

FrankVl
Ultra Champion

What you need to do is some properly structured troubleshooting. If you want help with that, the only way to get that is by sharing the relevant configurations (masking confidential info where needed) and providing a lot more info on what your setup looks like.

Also take a look at the troubleshooting guide: https://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Cantfinddata

Just saying "it doesn't work", "what should I do" makes it very difficult for anyone to help. Functioning crystal balls are still very rare 😉

0 Karma

vishaltaneja070
Motivator

you can hide the confidential data and put the screenshot which can help to understand if the configuration is correct.

0 Karma

aalaa
Path Finder

output.conf :
[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = ..**.*:9997

[tcpout-server://..***:9997]

0 Karma

aalaa
Path Finder

inputs.conf:
[default]
host = mdelta

0 Karma

aalaa
Path Finder

@vishaltaneja07011993

0 Karma

vishaltaneja070
Motivator

could you please give output of

splunk display listen

on indexer

0 Karma

vishaltaneja070
Motivator

check if it is pointing to 9997.

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...