Getting Data In

can Splunk HF run multiple Python scripts and forward it to multiple indexer

ChetanArgekar
Explorer

I am having 2 scheduled python scripts running in HF.
First script is scheduled for 2 mins and get SNMP data and forwards to Indexer1 (IP:xx.xx.xx.123)
second script is scheduled for 2 mins and collects the JMX data and forwards to Indexer2.( IP:yy.yy.yy.123)

My problem is I am able to get data in only one indexer at a time. either indexer1 or Indexer2 not both. Is there any system limitations from splunk that only one script runs at a time and forwards to 1 indexer.

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

A HF can run multiple scripts at the same time. The output from those scripts is sent to the indexer(s) specified in outputs.conf. You can direct data to different indexers with Splunk's Routing and Filtering feature. It sends data to different indexers based on source, sourcetype, or other criteria. See https://docs.splunk.com/Documentation/Splunk/8.0.1/Forwarding/Routeandfilterdatad for details.

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

Splunk Classroom Chronicles: Training Tales and Testimonials

Welcome to the "Splunk Classroom Chronicles" series, created to help curious, career-minded learners get ...

Access Tokens Page - New & Improved

Splunk Observability Cloud recently launched an improved design for the access tokens page for better ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...