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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...