Splunk Search

Extremely large search job size

Alan_Chan
Explorer

We found that the search job size becomes extremely large during searches. My Splunk instance is a newly installed testing lab with the following limits.conf only.

Anyone else have any idea on this situation?

/opt/splunk/etc/system/local/limits.conf

[search]

read_final_results_from_timeliner = 1

Update:
When I change the read_final_results_from_timeliner = 1 to read_final_results_from_timeliner = true
The Job size reduced and I don't know why.
Alan_Chan_0-1746607565626.png

 

 

Labels (1)
Tags (1)
0 Karma

livehybrid
Super Champion

Hi @Alan_Chan 

The issue of an extremely large search job size can be caused by several factors. To troubleshoot, you should first check the search query that's causing the large job size.

| rest /services/search/jobs 
| search dispatchState="DONE" AND isFinalized=0
| sort - runDuration
| table sid, label, runDuration, scanCount, resultCount, diskUsage
| rename label as "Search Query"

This SPL will list the recent search jobs, sorted by their run duration, and provide details such as the search query, scan count, result count, and disk usage.

The limits.conf you've provided only contains one setting: read_final_results_from_timeliner = 1. This setting is related to how Splunk reads final results, but it doesn't directly explain the large search job size.

To mitigate large search job sizes, consider optimising your search queries to reduce the amount of data being processed and returned.

Use | stats or other transforming commands early in your search to reduce data volume.

Limit the time range of your searches. - Avoid using * or overly broad field names in your searches.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...