Splunk Cloud Platform

Splunk Add-on for AppDynamics fails AppInspect validation for Splunk Cloud

patrickouellet
New Member

Hi there!

 

In the Splunk Add-on for AppDynamics release notes, it is mentioned: "Now Splunk Cloud supported! Updated using Add-On-Builder 4.0 to set python version preference to python3 and pass cloud vetting (no changes in functionality)." Now this message and the app itself is a little old: July 23rd, 2021.

However, when I try to install this add-on in Splunk Cloud, it fails AppIsnspect validation. There are 3 failed check:

check_python_sdk_version: 

  • Detected an outdated version of the Splunk SDK for Python (1.6.6). Please upgrade to version 1.6.16 or later. File: bin/splunk_ta_appdynamics/aob_py3/solnlib/packages/splunklib/binding.py

check_simplexml_standards_version:

  • Change the version attribute in the root node of your Simple XML dashboard default/data/ui/views/home.xml to `<version=1.1>`. Earlier dashboard versions introduce security vulnerabilities into your apps and are not permitted in Splunk Cloud File: default/data/ui/views/home.xml

check_for_addon_builder_version:

  • The Add-on Builder version used to create this app is below the minimum required version of 4.1.0.Please re-generate your add-on using at least Add-on Builder 4.1.0. File: default/addon_builder.conf Line Number: 4

Any chance a new version will be made available with recent support for Splunk Cloud? We'd love to offload this add-on from our on-prem Heavy Forwarders to Splunk Cloud.

Thank you!

Labels (2)
0 Karma

tej57
Contributor

Hello @patrickouellet,

I generally use the splunkbase API to determine if the app/add-on is available to be installed via Self-Service on SplunkCloud or not. I checked for the Splunk Add-on for AppDynamics and it is rejected for both Classic and Victoria experience. Hence, the only possible way to determine how to have the app installed on your SplunkCloud environment is either by raising a Splunk Support ticket or have the add-on fixed/updated by the developers. 

Below is the API that you can refer to:

https://splunkbase.splunk.com/api/v1/app/${uid}/?include=release,release.splunk_compatibility&instance_type=cloud

Here, the uid refers to the app-id (#app-number) and then you can search for install_method_single and install_method_distributed for Victoria and Classic experiences respectively. 

 

For the second failure, you can navigate to the default/data/ui/views directory in the app and replace the header in all the dashboard xml files as below:

<form version="1.1">
OR
<dashboard version="1.1">

Based on the header tag, update it to the above and try uploading the package again. 

0 Karma

patrickouellet
New Member

Thank you for taking the time to reply 🙂  Much appreciated.

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...