Splunk Search

Why are events are not displayed in the search results because _raw fields exceed the limit of 16777216 characters?

ssuluguri
Path Finder

Hi Team

I am getting below warning notification from indexers , can someone help how to clear this .

 

"Search peer XXXX has the following message: Events are not displayed in the search results because _raw fields exceed the limit of 16777216 characters. Ensure that _raw fields are below the given character limit or switch to the CSV serialization format by setting 'results_serial_format=csv' in limits.conf. Switching to the CSV serialization format will reduce search performance"

Labels (1)
0 Karma

woodcock
Esteemed Legend

The problem is exactly what it says it is.  The situation is EITHER:
A: You are NOTlinbreaking the file correctly and each current event is actually MANY events
B: You ARE linebreaking the file correctly and each current event really is HUUUUGE.

In the case of the former, just fix it.  In the case of the latter, you will have to reformat the original logs to ensure that each event is smaller the inescapable limit.  We usually use cribl for this but it is more than we can talk about in here because there is bunch of depends.  I am easy to find so reach out to me if you are in the latter boat.

Tags (1)

JNgoho
Engager

is there a way to identify what logs are those?

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

probably you could found those by searching for _internal? I haven’t have this kind of situation, sou I couldn’t give you a SPL for that. Another option is look your current search which has given that warning. Then just create search like

<your base from previous search>
|eval len =length(_raw)
| fields host source sourcetype len 
| where len > <max length from error message>

r. Ismo 

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 ...