Installation

Data Redirection Issue

daniel333
Builder

All,

I am getting logs into an existing Splunk installation with
index=wrong sourcetype=wayoutofdate

that data needs to continue as is. There are users counting on those logs as they are . I'd like to send a second copy of these logs to a new set of indexers with
index=correct sourcetype=correctsourctype

I am not sure how to make the three transform changes without breaking what already exists off my heavy forwarders. Any help?

0 Karma

ledion
Path Finder

You should be able to trivially clone the data into the right index/sourcetype and much much more using Cribl - check out this blog post for an example of how to clone data.

0 Karma

MousumiChowdhur
Contributor

Hi @daniel333 ,

Could you please share the outputs.conf stanza you have currently?

Thank You.

0 Karma

woodcock
Esteemed Legend

The easiest way is to create a symlink to the directory where the files are now ( ln -s current_directory symlink_directory ) and put a second monitor stanza pointed at the new directory. The downside is double the work on the forwarder and double the license cost.

The other way, which is extremely fragile and also creates much latency but has no license cost, is to use copy it into a summary index with a populating search that is scheduled to run all the time.

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...