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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...