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!

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 ...