Splunk AppDynamics

How can I add Hostname, Node Name, Tier name in health rule names?

173022
Explorer

Hi Experts,

Is there any way i can add "Hostname,Node Name,Tier name" in healthrule names  ?

Tested with some placeholders didn't worked. Appreciate your suggestions.

Eg : 

173022_0-1742533793502.png

Thanks,

Raj

AppDynamics 

Labels (1)
0 Karma
1 Solution

173022
Explorer
0 Karma

173022
Explorer

Thanks Will

0 Karma

173022
Explorer

Predefined Templating Variables

I tried predefined templating variables - ${event.node.name} and custom insertables in healthrule didn't worked as expected.

 

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @173022 

Unfortunately the templating variables are only supported in email and HTTP request templates.

For the health rule name only the following static characters are supported:

The following character types are allowed in a health rule name:
Uppercase letters: A-Z
Lowercase letters: a-z
Numbers: 0-9
Symbols: ~ ` ! @ # $ % ^ * ( ) _ - + = { [ } ] | : ; ' . ? / > <

You may want to look use the AppDynamics REST API to programmatically create health rules with dynamic names based on your infrastructure if you have a number of rules to manage with custom names, but you could end up with a larger quantity of rules.

Please let me know how you get on and consider adding karma to this or any other answer if it has helped.
Regards

Will

 

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...