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
Legend

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
Legend

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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...