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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...