- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jason
Motivator
10-13-2010
05:54 PM
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jason
Motivator
10-13-2010
05:55 PM
I couldn't find it on docs or Answers, but you can get a man-page style listing of the module by doing the following:
$SPLUNK_HOME/bin/splunk cmd python
(in python interpreter)
import splunk.Intersplunk
help(splunk.Intersplunk)
(when done, press q to exit the help screen, and ctrl-D or ctrl-Z to exit python)
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Stephen93Marsh
Explorer
07-01-2013
09:03 AM
$SPLUNK_HOME$\Python-2.7\Lib\site-packages\splunk\
This was asked a very long time ago, but i'm putting this here so other people can see it. This appears to have all of the common splunk imports.
If you are using an IDE such as eclipse and want to take advantage of its intellisense while working with these Splunk imports, just add the "site-packages" folder as an external source dependency.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

xavierashe
Contributor
11-18-2017
08:34 AM
Google find all old posts. Here's another update. In v6.6.3 I found the site-packages in
$Splunk_Home/lib/python2.7/site-packages/splunk
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jason
Motivator
10-13-2010
05:55 PM
I couldn't find it on docs or Answers, but you can get a man-page style listing of the module by doing the following:
$SPLUNK_HOME/bin/splunk cmd python
(in python interpreter)
import splunk.Intersplunk
help(splunk.Intersplunk)
(when done, press q to exit the help screen, and ctrl-D or ctrl-Z to exit python)
