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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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