Splunk Search

Is there a way to add a line break in a search, but before piping in every other search command?

hofer
Explorer

So, after an upgrade, the logs changed, but the line-break configuration wasn't adapted immediately. Before, it was "^ericcson", now it's just a normal new-line and everything works fine.
But in the time until the configuration was changed, some data was indexed wrong. It took many lines into one event and cut it after 10,000 characters. We've got an enormous search which merges many sourcetypes into one statistic table and we need that over the period.

Is it possible to "re-break" the lines in the search before anything else (except the index)? Because with field extractions, just mvjoin or something doesn't work. It would be great to break the line with "^waphandlr" in the search.

1 Solution

masonmorales
Influencer

You're not going to like this, but sometimes it's easier to delete and re-index the data than it is to try to post-process the incorrectly indexed data.

View solution in original post

masonmorales
Influencer

You're not going to like this, but sometimes it's easier to delete and re-index the data than it is to try to post-process the incorrectly indexed data.

hofer
Explorer

OK, I see. Thanks for the answer! Since we've got a bigger splunk environement it's unfortunately not possible to delete the events (or too risky). So we gonna have to live without this data.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...