Splunk Dev

[SDK Python] Where execute scripts *.py in cluster architecture (submit.py) ?

oxthon
New Member

Hello,

My questions is about Splunk Entreprise, Clustering and Script with SDK Python.
I want add some datas in some indexes which are on a cluster.

Architecture: 1 forwarder + 5 nodes + 3 searcheads + 1 master

I don't know where to run some scripts like submit.py
It's necessary my data be in cluster.

How do i configure my .splunkrc and where execute scripts ?

Thanks for your help.

Oxthon 🙂

MyConfig: >Splunk 7.1 : 1 forwarder -> 5 nodes <-> 3 searcheads <-> 1 master

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

Hi @oxthon

If you want to run custom scripts it's a best practice to setup a heavy forwarder which can be a central place to do so. Just configure this to send the data to the indexers like you would with any other universal forwarder.

Good luck

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...