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!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...