|
I would like to force the re-indexing of events in a local Windows Event Log channel, let's say "Security". I have tried to clean the fishbucket but it had no effect on the Windows Event Log events. How can I do this? |
|
Splunk keeps track of what was read from Windows Event Log channel in checkpoint files. These files are "bookmark" flat text files that live in
Contents of Security_checkpoint :
In order to force the re-indexing of all available events for a given channel, one simply needs to delete the corresponding checkpoint file and restart splunkd. It is possible to fiddle with the RecordId field to re-index from a given event number, but this is usually harder to figure out. This answer does not work for me because that directory (
(19 Mar '12, 07:29)
hjohnson
@hjohnson : Are you certain that you checked on the server that reads directly from the Event Log channels? I suspect that you may have checked the indexer, when the event logs are collected by a remote forwarder, in which case you'll have to perform this operation on the forwarder itself.
(19 Mar '12, 10:05)
hexx ♦
Yes... I checked on the server that reads directly from the Event Log Channels. I do not have any remote forwarders.
(21 Mar '12, 08:29)
hjohnson
|