Splunk Enterprise

Will index cluster replicate data from script inputs?

Haleb
Path Finder

Hi, I just installed a index cluster and i already know that i shoud place Apps to $SPLUNK_HOME/etc/master-apps/ directoty at my manager node to distribute it accross all indexers but i have 2 questions.

1. If an app that I deployed on the indexers uses Python scripts to fetch data, will this data be duplicated?
2. Do I need to prepare an app before deploying it to my indexers (remove unnecessary dashboards, eventtypes, etc)? Or can i leave it without changes?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

1.  Yes.  Such apps should be installed on a heavy forwarder.

2. Some preparation may be necessary, depending on the app.  Inputs.conf should be removed or all inputs disabled, for example.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

1.  Yes.  Such apps should be installed on a heavy forwarder.

2. Some preparation may be necessary, depending on the app.  Inputs.conf should be removed or all inputs disabled, for example.

---
If this reply helps you, Karma would be appreciated.

Haleb
Path Finder

Thanks for your reply.
I notice that almost every app uses script inputs (e.g., Splunk Add-on for Amazon Web Services, Splunk Add-on for Google Workspace, etc.). In what cases do I need to distribute the app to my indexers?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If the app is installed on a heavy forwarder then all parsing is done there using the configurations in the app.  There is little need for the app also to be on the indexers unless you like to wear suspenders (braces) with your belt.

P.S.  I challenge the notion that almost every app uses script inputs.  Of the thousands of app in splunkbase, comparatively few use input scripts.  🙂

---
If this reply helps you, Karma would be appreciated.

Haleb
Path Finder

I have one more question. Can I use one Heavy Forwarder for all apps with script inputs, or would it be better to deploy a separate instance for every app?

Thanks for your help!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Generally speaking, yes, you can use a single HF for all of your input scripts.  If you will be processing a lot of data then you may need an additional HF.

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

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...