Getting Data In

Reindex data from a forwarder

nicholasjohn
New Member

We have changed the configuration (props.conf) on a Universal Forwarder so that it will now use the correct sourcetype for a couple of log files.
How do I go about getting
a) the forwarder to "resend" the events in those files with the new correct source type
b) getting the indexer to re-index those events.

Alternatively, is there a way to change the source type for those events at the indexer?

0 Karma

yannK
Splunk Employee
Splunk Employee

take a look at this answer for techniques to force a reindexing.
http://splunk-base.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

In reverse order...

c) You cannot modify the data once it is indexed.
b) The indexer will happily re-index duplicates, nothing to do there. However, if you want to get rid of the old events you can either empty the corresponding index (and delete every other event in that index along the way!) or mark them as deleted with the delete command (won't reclaim space).
a) You need to empty the fish bucket on the forwarder to get it to re-read files that have already been read. It'll then re-read everything on the forwarder, make sure you don't get unwanted duplicates from other sources.

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