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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...