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

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...