You could submit an ER for Splunk to make a way to "compile" an app. I think this is a bad idea. If your 'logic' is in the form of Splunk searches, those searches will clearly appear in Splunk's own internal logs. To monetize an app, you are going to have to count on licensing, copyright, and honest people. If your app is groundbreaking you might do better as a Splunk partner, reselling Splunk integrated with your app, providing services and support for the total package. But trying to provide your app as an opaque object for any Splunk user to install ... you're gonna have a bad time.