Splunk Cloud Platform

Why the error during Splunk Cloud custom app installation?

alexspunkshell
Contributor

I want to install a custom app "Splunk Health Care Centre" in Splunk cloud.

So i replicated the existing "Search & Reporting app" and sent to the cloud team.

But the cloud team is getting below error and they are unable to install the custom app.

Please help here.

 

====================================================================

#Custom 8.2.6 - SplunkHealthCareCentre

JavaScript file standards

[failure] Check for usages of telemetry metrics in JavaScript

The telemetry operations are not permitted. Match: splunkUtil.trackEvent File: appserver/static/get_html_dashboard_count.js Line Number: 7

Directory structure standards Ensure that the directories and files in the app adhere to hierarchy standards.

[failure] Check that the file 'local.meta' does not exist. All metadata permissions should be set in 'default.meta'.

Do not supply a local.meta file- put all settings in default.meta. File: metadata/local.meta

[failure] Check that when decompressed the Splunk app directory name matches the id property in the [package] stanza in app.conf. For Cloud apps, the id property must exist and match the app directory name. For on-premise apps, if the id property exists, it must match the app directory name; if there is no id property, check_for_updates must be set to False in app.conf for the check to pass.

The `app.conf` [package] stanza does not exist. Please disable `check_for_updates` or set the `id` property in the [package] stanza. File: default/app.conf

==========================================================================

Tags (1)
0 Karma

Roy_9
Motivator

@alexspunkshell hi,

You could test this app vetting on your machine before submitting a case to Splunk support.

You could use splunk add-on builder for this situation and as the above warnings provided by splunk support, once all the errors are cleared and when you submit the app in a new package, splunk support will schedule a deployment.

 

hope this helps

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...