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!

Congratulations to the 2025-2026 SplunkTrust!

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

Community Feedback

We Want to Hear from You! Share Your Feedback on the Splunk Community   The Splunk Community is built for you ...

Manual Instrumentation with Splunk Observability Cloud: Implementing the ...

In our observability journey so far, we've built comprehensive instrumentation for our Worms in Space ...