All Apps and Add-ons

How does Splunk know which script to run for a modular input?

wegscd
Contributor

I'm writing my own modular input, using the docs, Python examples, SNMP TA, and the Splunk Add-on for ServiceNow as a learning base.

Looking at the Splunk Add-on for ServiceNow, there are a kajillion .py files in bin/. How does Splunk know that snow.py is the main for the modular input, instead of one of the other scripts?

mreynov_splunk
Splunk Employee
Splunk Employee
0 Karma

ehaddad_splunk
Splunk Employee
Splunk Employee

you can go to /README/inputs.conf.spec. There would be an entry such as:
[snow://]
snow.py would be the main starting point.

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...