Deployment Architecture

Do NOT run scripted input on splunk components

renems
Communicator

I have a setup with clustered indexing, and search head pooling. I have a script that is getting data from a remote service. This script is included in an app, and that app is part of a serverclass that contains the specific linux host the script is intended to run on, the indexer-master, and the searchhead pool master.

You probably get it already: the script now runs on every host: the linux server, all of the cluster members, and all of the searchhead members. Ouch, I don't want the same input 8 times!

Is there any way to have the script only run on the linux server, and still use the deploymentserver? (I do need to add some field extractions, and create the index, so preferrably the serverclass remains unchanged)

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Forwarders and SHs/Indexers generally should not get the exact same apps if inputs are involved. I'd split up the app in an inputs-part and a other-part. Then the forwarder gets only the inputs-part and the Splunk components won't run the script.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Forwarders and SHs/Indexers generally should not get the exact same apps if inputs are involved. I'd split up the app in an inputs-part and a other-part. Then the forwarder gets only the inputs-part and the Splunk components won't run the script.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...