Splunk Search

format command using up memory

cwl
Contributor

I got a simple search which uses format command and I noticed that the search uses up much more memory than when I don't have any format command. Is this expected behavior ?

Tags (2)
1 Solution

cwl
Contributor

format take double the memory of results due to formatting. To limit memory usage add maxresults in search query. This will limit the number of results to return.
http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/format

View solution in original post

cwl
Contributor

format take double the memory of results due to formatting. To limit memory usage add maxresults in search query. This will limit the number of results to return.
http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/format

Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...