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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...