Splunk Search

auto-finalized after time limit reached

cramasta
Builder

Hello,

I have a saved search set up that uses the append command. The subsearch of the append command give me the following error.

[subsearch]: Search auto-finalized after time limit reached (30 seconds). Results may be incomplete.

I have set up my limits in the local dir so it should work but i still keep getting the error. I dont see anywhere the my local limits.conf or in the default limits.conf any values set for 30 seconds. I have no idea where its getting this limit value from.

My current config splunk cmd btool --debug limits list subsearch [subsearch] maxout = 100000 maxtime = 6000 ttl = 1500

There seems to be a issue that someone else has seen with the appendcols command ignoring the limits.conf file. http://answers.splunk.com/questions/6059/appendcols-subsearch-auto-finalize-ignoring-maxtime-in-limi...

I am running 4.1.5

Appreciate your help.

Tags (2)
1 Solution

jrodman
Splunk Employee
Splunk Employee

It seems the append command itself has a 30 second default maxtime. I'm not sure I properly understand the search code, but try

... |append maxtime=600 [search ... ]

View solution in original post

sideview
SplunkTrust
SplunkTrust

Can you post the search you're using? Quite often it seems like you need append or join but we can often show you a better simpler faster way to do the same thing with only stats.

jrodman
Splunk Employee
Splunk Employee

It seems the append command itself has a 30 second default maxtime. I'm not sure I properly understand the search code, but try

... |append maxtime=600 [search ... ]

Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...