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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...