Is there a way to "trigger" another search when previous saved search finished?
I have a complicated jobs to run on splunk, so I separate it as two part :
One will generate a temporary lookup table , and the second one will use it.
Usually I configure them as two schedule search , and there is a buffer-time between them.
But the buffer-time is hard to decide, it depend on log volume and system performance at the execution time.
Sometime the second search run but the first search is not finish.
Sometime the first search run and rewrite the lookup table, but the previous second search is still running....
It cause wrong result for my report, and hard to trouble-shooting~
So I want to know if there any way to "trigger" another search when previous saved search finished?
So I could combined them as only one schedule job.
Or any idea to control the workflow on splunk?
Yes, I know the concept of subsearch. But there are some many limitation on subsearch ( Ex: number of return records. ) , I am processing a huge number of data, and the scenarios is not suit for subsearch.
You can use something such as load job and run your search based on the result of load job.
Refer this link:
Let me know if this helps!!