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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...