Getting Data In

How to add a data input in Server GUI that modifies the inputs.conf file in the Universal Forwarders?

leantricity
New Member

Hi:

I'm using Splunk in a Mac OS X system. I've installed Universal Forwarders in several Windows Machines. I 've used the installer's GUI for the forwarders, customised the options to monitor a folder and data IS getting into Splunk Server. But when I check the Universal Forwarders etc/system/local/inputs.conf file I only see 2 lines [Default] and Host name. Nothing there about the directory I'm supposed to monitor in the server. As I've said, data IS getting into the server, but I get the "no source type for this job" error when trying to extract fields. So I was wondering if should I trust the GUI to add a Data Input for a Directory in the managed forwarders (they also show OK in the Server's console), or just tweak the inputs.conf file locally in each forwarder to add the source type field there.

If I add a data input in the server GUI, is that configuration written anywhere in the remote universal forwarder ?

Thanks!

0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi leantricity,

on the server with the universal forwarder you can run this command in the CLI:

 $SPLUNK_HOME\bin\splunk.exe btool inputs list --debug

Where $SPLUNK_HOME is the directory where you installed Splunk. The output of the command will show you the path and file where each option is configured.

Hope this helps ...

cheers, MuS

View solution in original post

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi leantricity,

on the server with the universal forwarder you can run this command in the CLI:

 $SPLUNK_HOME\bin\splunk.exe btool inputs list --debug

Where $SPLUNK_HOME is the directory where you installed Splunk. The output of the command will show you the path and file where each option is configured.

Hope this helps ...

cheers, MuS

0 Karma

leantricity
New Member

Thanks! Found it inside $SPLUNK_HOME\etc\apps\SplunkUniversalForwarder\local\inputs.conf

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...