Splunk Enterprise

How to change the default linecount for "search" from index=_audit?

genesiusj
Builder

Hello,

Quick question.
How do I change the default number of lines to return in search? Is there a setting in limits.conf?

 

index=_audit action=search AND search!=*_internal* AND search!=*_audit* AND user="user1"

 

The linecount max is 128. My larger search values return with ...(truncated)', autojo... in the _raw.

Thanks in advance and God bless.

Labels (1)
Tags (1)
0 Karma

johnhuang
Motivator

It's either the truncate or max_events setting in props.conf. Check the char length of the truncated event to rule it out:

| eval char_length=LEN(_raw)

https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Propsconf

# Use the following settings to define the length of a line.

TRUNCATE = <non-negative integer>
* The default maximum line length, in bytes.
* Although this is in bytes, line length is rounded down when this would
otherwise land mid-character for multi-byte characters.
* Set to 0 if you never want truncation (very long lines are, however, often
a sign of garbage data).
* Default: 10000

TRUNCATE = <non-negative integer>
* The default maximum line length, in bytes.
* Although this is in bytes, line length is rounded down when this would
otherwise land mid-character for multi-byte characters.
* Set to 0 if you never want truncation (very long lines are, however, often
a sign of garbage data).
* Default: 10000

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

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...