Developing for Splunk Enterprise

@route decorator - path was not found

Path Finder

Hi guys,

I've been putting together a custom Splunk module and encountered some trouble trying to make one of my module handlers methods available via a URI. I have been trying to make the method available by using the @route decorator as per the below.

def setAlarmState():'setAlarmState reached for alarm')

I am then trying to access this method via the following URL:


Any advice as to how this ought to be done would be great.

EDIT - My handler class inherits from ModuleHandler, if that information is of any use.


0 Karma

Path Finder

I wound up placing the additional end points into a controller class. This seemed to work fine, it would be nice to keep that code in the same class though.

0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!


Or Learn More in Our Blog >>