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!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...