Deployment Architecture

single logfile in local splunk server how to apply a multiple source type in splunk?

zippyopsadmin
New Member

my local splunk master having a ossim_alarms.log file my requirement is that file to apply a multiple souretype

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi zippyopsadmin,
what do you mean with multiple sourcetype?
if you want to assign to an event a sourcetype based on a part of the source or a regex from the log, it's possible to override a sourcetype following the instructions at https://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides .
But put much attention to this idea because in Splunk every thing (fields, eventypes, etc...) is related to sourcetype, this means that in this case you have more work to do!

Why do you want to assign many sourcetypes to the same log?

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...