Splunk AppDynamics

Generate an alert depends on the Data Collector response

Teja_Tatini
Explorer

Hi,

I am using data collectors to collect specific response data from a method . Now I am looking to generate an alert based on the result . Is that possible.

e.g : Data collector method returns : Totalrecoverable= 31 ; I am looking to setup an alert if the return value is more than 10.

Thanks,

Teja

Labels (1)
Tags (2)
0 Karma

Brian_Wheeldon
Contributor

Hi Teja,

To configure a Health Rule, you must specify a metric to compare. The Method Invocation Data Collector (MIDC) you defined adds the observation to snapshots, but does not produce a metric you can use in a Health Rule.

To produce a metric, you need to configure an Information Point. The Information Point configuration is very similar to the MIDC.

Information Point metrics are automatically baselined, and can be used in Health Rules, Dashboards and Reports.

Regards,

Brian Wheeldon

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Am looking to pass data collector information to an action. How can I do that.

Ex: A pojo transaction is violating the health rule and I need to pass on the data of this business transaction to a response (Either to a script or a http service)

0 Karma

Teja_Tatini
Explorer

Thank you Brain. Its working. Thank you much.

Creation of information points for the same class and method which i used in data collector wont impact any MIDC metrics, right?

Thanks,

Teja

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...