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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...