I've been constructing a custom controller for an app, and one of the things I would like to do is add additional commentary to the endpoints listed in /path for later users. Unfortunately, adding commentary to the python controller doesn't seem to affect what's shown there. Is there another way, or is it not possible?
Very cool, what's the controller for?
If you update the doc string below a method, you don't see it updated in Splunk Web after you restart it? Or have I misunderstood?
Very cool, what's the controller for?
If you update the doc string below a method, you don't see it updated in Splunk Web after you restart it? Or have I misunderstood?
We've basically implemented a multi-layer report framework, so you can view a summary of each set of charts and then, if the summary indicates a problem, go down to the charts or even all the way down to the logs. Because this is intended for a wide range of users, we implemented a controller to build and update the charts without having to mess around with the XML and Javascript that defines the behaviors.
Oddly enough, the commentary on the paths endings started showing up now. Not sure why. Maybe it's a bump/refresh thing, in addition to resetting to reload the python. Thanks anyways.