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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...