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

 

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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...