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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...