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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...