Getting Data In

Create aliases for common sourcetypes

carmitstead
Explorer

I'd like to create a custom name for a common sourcetype. For instance:

inputs.conf

[monitor:///my/special/directory]
sourcetype = custom_syslog

props.conf

[custom_syslog]

Some configuration to make this custom sourcetype

format logs like the syslog sourcetype would be

formatted

[source::/my/special/directory]
sourcetype = custom_syslog

Rename does this in the reverse. I could rename my custom field to syslog with 'rename = syslog' in my props.conf, but that wouldn't help me. I want the behavior, but not the name of the default sourcetypes.

0 Karma

dounla2carlos
Explorer

I am not sure to understand perfectly what you try to do. To me it seems impossible to change de behavior since its linked to a specific set of data. It will always behave as it was doing at the begining
Please if this is not enought, provide more details

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...