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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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