Splunk Dev

Splunk Python SDK multiprocessing

jfuruness
New Member

My code uses splunk and the python sdk. It firsts connects to splunk. Then it creates two child processes, who each run their own search. My question is, why is this slower than just not creating any child processes, and just running one search after the other? Is it because I am using the same connection with each child? Is it because I am using a blocking search? Does splunk allow you to have one connection running multiple searches at once?

0 Karma

spammenot66
Contributor

can you provide your code?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...