Getting Data In

Splunk - Universal forwarder

macwin
Explorer

How can I define a custom source type with in universal forwarder so that it can be seen in splunk indexer?

Tags (1)
0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You will want to set that on the input.

Example:

[monitor:///var/log/syslog]
sourcetype = MY_SOURCETYPE
disabled = false

http://www.splunk.com/base/Documentation/5.0/Admin/Inputsconf

0 Karma

macwin
Explorer

The thing is, I can see the logs under automated sourcetype. I want to get these logs under my sourcetype.

output.conf file has all the necessary contents as I can see logs remotely.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Do you have outputs configured to send the data to the indexer? Also, the file name is inputs.conf that should go in that folder. make sure you have the s in there.

0 Karma

macwin
Explorer

I have installed windows splunk forwarder.Splunk indexer is on some other machine altogether. Then in \etc\system\local created a file called input.conf. The conetent of the file is :

[monitor://C:\testlogs]
sourcetype = ForwarderSourceType
source = ForwarderSource
disabled = false

Restarted forwarder and splunk indexer. But this entry is not coming in splunk indexer.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

What file are you putting that in? Could you post the input configuration please? Thanks!

0 Karma

macwin
Explorer

It does not work. Do I need to check in any other location?

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!

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...