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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...