Getting Data In

/paths commentary

DaleFRice
Explorer

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?

Tags (2)
0 Karma
1 Solution

araitz
Splunk Employee
Splunk Employee

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?

View solution in original post

0 Karma

araitz
Splunk Employee
Splunk Employee

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?

0 Karma

DaleFRice
Explorer

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.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...