- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Splunk internal python modules documentation
I am looking into developing a custom splunk app that lets us manage our knowledge objects in bulk.
The idea is to create custom REST endpoints and call them from a splunk-ui based app in splunk web.
Looking into the documentation of custom REST endpoints (https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/customrestscript), it strikes me that the sample code imports a splunk module that I can find no documentation for.
Am I missing out on something here? Am I just supposed to use splunklib?
I would greatly appreciate feedback regarding the plan to use custom REST endpoints with a splunk web based UI.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@zapping575- This is little-bit complicated topic, as there are many ways to achieve this and also there are many types of Rest endpoints.
I prefer to learn from example, some prefer to learn from documents. I'm putting both as references here:
- https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/
- https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/customrestscript/
- https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/customrestmanageaccess/
- https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/customresteai/
- https://dev.splunk.com/enterprise/docs/devtools/customrestendpoints/creexamples/
- https://github.com/splunk/splunk-app-examples/tree/master/custom_endpoints/hello-world
I hope this helps!!!
