Getting Data In

How to re-index data in to splunk with different source type?

vikram1583
Explorer

I am using universal forwarder I indexed data into Splunk with a source type now I want to re-index same data with different source type but I am getting current data only how can I get old data ?

0 Karma

bandit
Motivator

One option is to update your inputs.conf with the new sourcetype name under the monitor stanza and also add the following and restart the forwarder
crcSalt = reindex

Really any unique value for the crcSalt will work
You should get all data reindexed for that monitor rule

One other option would be to remove the fish bucket on the forwarder and restart however that would reindex all sourcetypes on the host

0 Karma

Vijeta
Influencer

@vikram1583 you can use collect command to get data from old sourcetype to new sourcetype using a time_range where the old data lies

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...