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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...