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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...