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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...