Archive
Highlighted

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

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
Highlighted

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

Community Manager
Community Manager

Hi @aniello_cerrato

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

0 Karma
Highlighted

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

Explorer

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
Highlighted

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

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