All Apps and Add-ons

Why am I getting an error trying to package an app with the command "./splunk.exe package app"?

aniello_cerrato
Path Finder

Hi,

I have run the following command to create an .spl file for my app, but when I run it, it goes in error and in the Splunk\etc\system\static\app-packages folder, there is a folder with name DELETEME_

./splunk.exe package app 

I have already executed this command for the same app in the previous days and works correctly.

Please let me know.

Thanks,
Aniello

0 Karma
1 Solution

aniello_cerrato
Path Finder

Hi,

yes I use also app_name, I have solved the problem renaming local folder on my app and re-run the command.

Thanks,
Aniello

View solution in original post

0 Karma

aniello_cerrato
Path Finder

Hi,

yes I use also app_name, I have solved the problem renaming local folder on my app and re-run the command.

Thanks,
Aniello

0 Karma

miteshp250283
Path Finder

Seems your command is incomplete.

The documented syntax of the command is ./splunk package app <app_name> and it must be run from outside the <app> folder.

Please vote the answer if this works for you (I am in need of karma points to post my question).

Thanks, Mitesh.

0 Karma

ppablo
Retired

Hi @aniello_cerrato

Can you share the exact error you're seeing so other users can help you troubleshoot?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...