Getting Data In
Highlighted

how to export a splunk app to .spl

Contributor

What is command that i need to use to export a splunk app into .spl format ?

Tags (3)
Highlighted

Re: how to export a splunk app to .spl

Contributor

Got the answer:

For Windows Servers:

Goto-> Command prompt

cd %SPLUNK_HOME%\bin
splunk package app MyAppName
Splunk username:
Password :

Application is packaged and stored in location:

%SPLUNK_HOME%\etc\system\static\app-packages\MyAppName.spl

View solution in original post

Highlighted

Re: how to export a splunk app to .spl

SplunkTrust
SplunkTrust
Highlighted

Re: how to export a splunk app to .spl

New Member

For me I had to use the command on the second point like this: ./splunk package app MyAppName

0 Karma
Highlighted

Re: how to export a splunk app to .spl

Splunk Employee
Splunk Employee

FYI:
When you use the package command and do revisions, the app will be archived in a new folder:

%SPLUNK_HOME%\etc\system\static\app-packages\DELETEME_..\

This folder needs to periodically and regularly deleted manually.

0 Karma
Highlighted

Re: how to export a splunk app to .spl

Esteemed Legend

There's an app for that, too!

https://splunkbase.splunk.com/app/2613/