Getting Data In

inputs..conf and sourcetypes - Can't override the sourcetype

robsenk
Engager

We have the need to set a high level sourcetype in the inputs.conf to one sourcetype and override some of those sources using the prop.conf and provide a more meaningful sourcetype. This didn't work however, when I removed the sourcetype from the inputs.conf the props.conf went ahead and overrode the the automatic designation splunk assigned as expected.

The goal is to set all data to one sourcetype with inputs.conf and override sourcetypes for selected files with a specific info in the props.conf.

Note that we are indexing archive files directly that have several levels.

Should this be possible?

Splunk 5.0.4 build 172409.

0 Karma

rakesh_498115
Motivator

Hi robsenk..

if you wish to change to change all the sourcetypes to a common sourcetype. you can use the rename property in props.conf

[sourcetype1]
rename = CommonSourcetype

[sourcetype2]
rename = CommonSourcetype

[sourcetype3]
rename = CommonSourcetype

Hope this helps !!

0 Karma

robsenk
Engager

Thanks for the comment. I'm actually trying to change from a common sourcetype assigned in inputs to a sourcetype defined in the props.conf. It will not override the sourcetype defined in inputs.conf.

The reason we are assigning a common type in inputs.conf is because the auto assignment for sourcetype feature goes wild on our dataset.

0 Karma

walterk82
Path Finder

Did you resolve this question?

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...