Getting Data In

Copying over data to another index for longer retention

jpillai
Path Finder

Hi all,

We are indexing different topics from our kafka cluster to an index say, index1. But we now have a requirement to retain a subset of those topics for longer period of time. Is there a way to implement this while we still get all the data into the same index?

I can think of the subset of topics that I need longer retention being searched, filtered out and collected to a new index. But this involves licensing if we want to retain the source/sourcetype and other fields I believe which is not practical for us.

We want to retain the original source/sourcetype etc and have the subset of topics that we need longer retention be copied over to another index, say index2, that has longer retention.

We also need the original copy in index1 as we have lot of dependant searches and alerts that use this index to search for the same data.

 

 

Labels (3)
0 Karma

P_vandereerden
Splunk Employee
Splunk Employee

I believe that your scenario could be accomplished with Ingest Actions:
https://docs.splunk.com/Documentation/Splunk/9.2.1/Data/DataIngest

This should support cloning data and applying different filtering rules and routing to the two streams.

Paul van der Eerden,
Breaking software for over 20 years.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...