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!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...