Configure the universal forwarder using configuration files
Optionally edit the Universal forwarder configuration files to further modify how your machine data is streamed to your indexers. See the following steps:
- Find the configuration files.
- Edit the configuration files.
- Restart the universal forwarder.
Edit inputs.conf
- Using your operating system file management tools or a shell or command prompt, navigate to
$SPLUNK_HOME/etc/system/local. - Open
inputs.conffor editing. You might need to create this file if it does not exist. - Add your data inputs.
- Once you have added your inputs, save the file and close it.
- Restart the forwarder.
- On the receiving indexer, log in and load the Search and Reporting app.
- Run a search and confirm that you see results from the forwarder that you set up the data inputs on:
host=<forwarder host name or ip address> source=<data source> earliest=1h
If you don't see any results, visit the Troubleshooting page for possible resolution.