Skip to main content

A tool to package up your splunk app and deploy it.

Project description

Splunk app packager

The Splunk app packager runs as a cli tool to package your Splunk app, validate the app, and push it to your Splunk instance.

Install splunk-app-packager

$ pip install splunk-app-packager

Run splunk-app-packager

Set environment variables

$ export SPLUNK_USER=<splunk.com user account>
$ export SPLUNK_PASSWORD=<splunk.com user password>
$ export SPLUNK_ACS_TOKEN=<splunkcloud acs token>
$ export SPLUNK_ACS_STACK=<splunkcloud acs stack name>

CLI arguments

$ sap --help
Usage: splunk_app_packager [OPTIONS] APP_PACKAGE

Options:
  --splunkuser TEXT      The splunk.com username. Can also be set via
                         SPLUNK_USER environment variable  [required]
  --splunkpassword TEXT  The splunk.com password. Can also be set via
                         SPLUNK_PASSWORD environment variable  [required]
  --justvalidate         Provied a package .tag.gz instead of a directory and
                         validate it.
  --prod                 Build a PRODUCTION package
  --nodeploy             Do NOT do the Deploy leg, just validate
  --outfile TEXT         Provied a package .tag.gz instead of a directory and
                         validate it.
  --acs-stack TEXT       The name of the ACS stack. Can also be set via
                         SPLUNK_ACS_STACK environment variable.
  --acs-token TEXT       A bearer token for Splunk ACS. Can also be set via
                         SPLUNK_ACS_TOKEN environment variable.
  --config-path TEXT     A path to the config.toml file.  [required]
  --help                 Show this message and exit.

Example usage

$ sap /path/to/app/folder  --prod

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

splunk_app_packager-0.0.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

splunk_app_packager-0.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file splunk_app_packager-0.0.1.tar.gz.

File metadata

  • Download URL: splunk_app_packager-0.0.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for splunk_app_packager-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3bc21e6d39a2638972b27ddbcdae4223556e9aa5dec481eb2c88f172cab4e5f6
MD5 b92f27347517117a646b60fc7d16dfac
BLAKE2b-256 f7b2a553d0bc8c847ae3514ad0268714c158c8fb0195e8720daf31a5195bbaad

See more details on using hashes here.

File details

Details for the file splunk_app_packager-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for splunk_app_packager-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18a57a3a31897ac0d223e52838b02eec8f48940b98153f41715814861d9f9589
MD5 7d25d6198c319ecf7284814422d249ff
BLAKE2b-256 2100413112479ae956d71f74804516ea5acde6b7e5443eb3d59074c2c6782c2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page