All Apps and Add-ons

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


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 is the main for the modular input, instead of one of the other scripts?

Splunk Employee
Splunk Employee
0 Karma

Splunk Employee
Splunk Employee

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

Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...