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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...