Getting Data In

how to export a splunk app to .spl

chimbudp
Contributor

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

Tags (3)
1 Solution

chimbudp
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

woodcock
Esteemed Legend

There's an app for that, too!

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

mcronkrite_splu
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

chimbudp
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

MuS
Legend

pascalhurni
Observer

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

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...