Deployment Architecture

What is the use of runScript.py?

rdzivk
New Member

Hi all,

We have noticed on our EDR some noise coming from the script C:\Program Files\Splunk\bin\runScript.py" which seems to be starting a number of btool processes.

 

Could someone tell me what's the usage of this and why it's happening?

I have tried googling to find more information but no luck.

 

Appreciate it!


0 Karma

richgalloway
SplunkTrust
SplunkTrust

The runScript.py script launches scripts on behalf of Splunk.  Rather than run the script directly, runScript is used to make Session Key and other necessary variables globally accessible rather than passed in as arguments.

I can't explain why there are so many btool processes running.  Can you tell us more about the problem?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...