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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...