Splunk Search

Search auto-finalized after time limit (30 seconds) reached on running SubSearch

ChhayaV
Communicator

Hi,

I have a search query which includes subsearch as follows:

host="sharepoint"  | rex field=msg "\sMore\sinformation:\s(?<EventCode>[\dxA-F]+)" | rename EventCode as output | eventstats count by output | sort -count | dedup output | append [search host="database" | rename EventCode as output | eventstats count by output | dedup output | sort -count | head 5] | table output count | sort -count

When i run this search it says :

[subsearch]: Search auto-finalized after time limit (30 seconds) reached

I checked my limit.conf file and its subsearch parameters as

[subsearch]
maxout = 10000
maxtime = 60
ttl = 300

So what's needs to be changed ?
Is there are any changes to be made in limits.conf file?
How to come out of this problem.Also here my search is taking to long to process(taking more time).

Thank you

Tags (1)

HiroshiSatoh
Champion

HiroshiSatoh
Champion

Do not have effect options append command? It has become the default is 60 in the document ...

ex.
・・・・ append maxtime=60 [search host="database" ・・・・・

0 Karma

ChhayaV
Communicator

Yes,this issue is similar to that event.Is it so if we use "Append" in subsearch will set the default time to 30sec?
What would be the solution for this?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...