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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

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

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...