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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...