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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...