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
SplunkTrust
SplunkTrust

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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...