Troubleshoot the universal forwarder
See common Splunk Universal Forwarder errors and how to fix them. For more troubleshooting information, see https://community.splunk.com/t5/Community/ct-p/en-us/.
Warning appears in the universal forwarder when you run an SPL command
When you run an SPL command in the universal forwarder, the following messages may appear:
- Warning: Attempting to revert the SPLUNK_HOME ownership
- Warning: Executing "chown -R splunk /opt/splunkforwarder".
These warning do not affect functionality and can be ignored.
Splunk isn't receiving data from the universal forwarder
- In the indexer user interface, go to forwarding and receiving, or go to inputs.conf.
- Identify or select a port in Received Data to listen to. Make sure it is the same port set in outputs.conf for the forwarder to send data to. See Configure the universal forwarder using configuration files. Usually, the port 9997 splunktcp is preferred.
- Check that the destination host for your indexers, including the IP address and hostname, is correct in outputs.conf.
- After configuring your change, restart your Universal Forwarder. See Start or stop the Universal Forwarder.
Splunk is only receiving "\x00\" data
- Go to your indexer user interface.
- Ensure you are receiving data from Forwarding and receiving in indexer settings, and not Data inputs -> TCP/UDP.
The most common cause of ingestion lagging is that you are taking in too much data from one sourcetype, which is blocking data from other sourcetypes. You can solve this by shortening your data ingestion intervals using the universal forwarder user interface, or inputs.conf.
Control forwarder access
This documentation applies to the following versions of Splunk® Universal Forwarder: 8.2.6, 8.2.7, 8.2.8, 8.2.9, 9.0.0, 9.0.1, 9.0.2, 9.0.3