Splunk AppDynamics

shortName in Alerting Template

Jim_Fleenor
Engager

Am currently researching how to use the Alerting Templates in AppD for heath rules and get an error stating: " Short name not available for the condition in critical criteria"  Or   "Short name not available for the condition in warning criteria".  When I export and look further into the underlying json file, I find that there is a null for the shortName rules that are causing the error.  Some of the shortNames point to 'A' or 'B', which I am assuming line up with the criteria in the health rule conditions.  The critical or warning criteria that show as null in the json only seem to have 1 criteria  in the health rule.    Does anyone know how or why these got set to null and if I change them to 'A' instead of null, will that break anything?

Labels (3)
0 Karma
1 Solution

Jim_Fleenor
Engager

The only workaround I was able to come up with was to export the template as json and opened it in a code editor.  From there I was able to find the stages where the ShortName was set to null and updated the short names to match their criteria letters in the UI as a string.  Once I edited the exported template, I imported the json file and the issue was resolved. 

View solution in original post

Tags (1)

Jim_Fleenor
Engager

The only workaround I was able to come up with was to export the template as json and opened it in a code editor.  From there I was able to find the stages where the ShortName was set to null and updated the short names to match their criteria letters in the UI as a string.  Once I edited the exported template, I imported the json file and the issue was resolved. 

Tags (1)

iamryan
Community Manager
Community Manager

Hi @Jim.Fleenor,

I found this AppD docs page https://docs.appdynamics.com/display/PRO45/Health+Rule+API if you search for, "shortname" shows results where A, B, C, D.

Please let me know if that doc helped and if it did, please share those learnings here as a reply to your post. Knowledge sharing is what drives this community forward.

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...