All Apps and Add-ons

App ID in app.conf must match the root directory name of the app

are0002
Path Finder

Hello,

I am trying to upload my app and I am getting this response:
in app.conf must match the root directory name of the app

My app.conf is:

Splunk app configuration file

[package]
id = SplunkForAerohive

[ui]
is_visible = 1
is_manageable = true
label = SplunkForAerohive

[launcher]
author = David Rivas
description = App for Aerohive APs devices
version = 1.0

The file is placed on folder: /opt/splunk/etc/apps/SplunkForAerohive/default/

Also I replaced the original app.conf in /opt/splunk/etc/apps/SplunkForAerohive/local/ with the previous app.conf

Tags (1)
0 Karma
1 Solution

are0002
Path Finder

I have the answer

The TAR must contain only the app folder, it do not have to conaint opt/splunk/etc/app

View solution in original post

0 Karma

are0002
Path Finder

I have the answer

The TAR must contain only the app folder, it do not have to conaint opt/splunk/etc/app

0 Karma

are0002
Path Finder

I have moved all /local to /default. Thank you

0 Karma

are0002
Path Finder

I tried with lower case name on folder and app.conf but it still having the error.

0 Karma

sideview
SplunkTrust
SplunkTrust

One comment right away is that you should not ship anything at all in /local. Ship only defaults. If you want to have a reference configuration or something, put it somewhere else than in local. The reason being that when customers modify your local settings, and then they update the app to a newer version, their local settings will get clobbered.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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