Splunk Search

Can splunk index same data into one index but different sourcetypes??

sivaranjiniG
Path Finder

Hello,

I have to index a log file in linux server in to one index but need to have two different sourcetype. Is it possible??

I tried but when compare 

index = audit_idx sourcetype = linux_audit and index =audit_idx sourcetype = linux_audit_mll , results are not same there are few logs missing in each.

Want to know why its happening.

Thanks in advance..

 

Labels (1)
Tags (3)

isoutamo
SplunkTrust
SplunkTrust

Hi

you can use CLONE_SOURCETYPE to clone same event to the different sourcetype. You should remember that  it duplicates your license usage!

https://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...