Developing for Splunk Enterprise

Wait over multiple searchmanager searches to finish

joshiro
Path Finder

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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>