Getting Data In

Any way to fix incorrect line break without reindex?

kenliu
Explorer

A line breaking RegEx change was mistakenly made to one of our sourcetype. We caught the error a few hours later but now we ended up with multiple events indexed as one. We have since fixed the RegEx but this impacted several hundred log files with several million events and some original logs on the server have been rolled and purged so delete and reindex isn't an option. Is there any way to reprocess event line breaking in place?

Tags (2)

asimagu
Builder
0 Karma

sowings
Splunk Employee
Splunk Employee

I don't know of a way, sorry. We talk about six "immutable" quantities related to indexed events: index, source, sourcetype, event time, line breaks, and host(name). I have a feeling that once it's indexed that way, you're stuck.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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