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
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...