Splunk Dev

Wait over multiple searchmanager searches to finish

joshiro
Communicator

We have multiple searchmanager objects running different searches, and we need to wait until all of them are done to execute some other code.
It works using <search>.on("data") state for individual searches, but we need a way to wait for them all.

What is the best way to accomplish this?

Regards.

Javier.

Labels (2)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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