Splunk Dev

How to download splunk python package

any
Splunk Employee
Splunk Employee

I'm using script interface for custom REST endpoints, and it uses:

from splunk.persistconn.application import PersistentServerConnectionApplication

I understand it's a package inside splunk enterprise, but is there a chance it is uploaded to PyPI?
0 Karma

marnall
Builder

There does not seem to be such a package on PyPi. It seems to be only implemented in Splunk Enterprise. Is there a reason you are trying to use it outside of Splunk Enterprise?

any
Splunk Employee
Splunk Employee

I'm trying to write some test, but to import the Class we could not bypass

from splunk.persistconn.application import PersistantServerApplication
0 Karma

marnall
Builder

Does the test require you to run that Python library outside of Splunk Enterprise?

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@marnall  - No external library. Splunk ships this Splunk Python module built in.

0 Karma
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...