# Archived - Sending ThousandEyes Alerts to AppDynamics

{% hint style="info" %}
This article describes an older method of integrating AppDynamics and ThousandEyes. For a more complete integration method, see [AppDynamics Bi-Directional Integration](https://docs.thousandeyes.com/product-documentation/integration-guides/appdynamics).
{% endhint %}

Another powerful way to integrate ThousandEyes and AppDynamics is to send ThousandEyes alerts to AppDynamics.

## Native Alerts Integration

First, set up ThousandEyes to send its alerts to AppDynamics. See the native [alerts integration](https://docs.thousandeyes.com/product-documentation/integration-guides/appdynamics).

## Viewing ThousandEyes Alerts in the Application Dashboard

ThousandEyes alerts are displayed in AppDynamics as *custom events*. Any alerts that ThousandEyes generates about an application that AppDynamics is monitoring appear under the application in the top right corner:

![](/files/-MJ9Mm2N2w-Zi0Xu7MiV)

To view the custom events, do the following within AppDynamics:

1. Click **Custom**.

   The **Events** view appears, filtered by custom event.
2. Scan the **Events** view for any ThousandEyes alerts generated for that application.

   ![](/files/-MJ9Mm2QIWH_rKUoQqT2)
3. Double-click one of the events.

   Details of the alert display, including a link back to the alert in ThousandEyes platform.

   ![](/files/-MJ9Mm2TtieQPOwXbm8j)

## Filtering on ThousandEyes Alerts

If you are ingesting alerts into AppDynamics from various sources, you may want to filter on ThousandEyes alerts only.

1. Navigate to the **Add Custom Event Filter** dialog.

There are several places in AppDynamics where you can add custom event filters. For example, **Application > Events > Add Criteria > Custom Events**.

2. In the **Custom Event Type** field, enter **ThousandEyesAlert**.

   ![](/files/-MJ9Mm2W0YqDoj8ES0-h)
3. To further refine your filtering, you can click **Add Property** and filter on any of the following properties:

   | Property Name  | Definition                                                                                                                                                                                                                                                      |
   | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | **alertType**  | Possible values include **BrowserBot**, **Http**, **Network**, **OneWayNetwork**, **Voice**, **DnspDomain**, **DnspNameServer**, **DnsServer**, **DnsTrace**, **Dnssec**, **Transaction**, **WebTransaction**, **Bgp**, **PathTrace**, **Ftp**, and **Sip**\*\* |
   | **testName**   | The name of the ThousandEyes test that is generating the alert.                                                                                                                                                                                                 |
   | **alertState** | **TRIGGER** or **CLEAR**                                                                                                                                                                                                                                        |
   | **scope**      | The number of agents affected.                                                                                                                                                                                                                                  |
   | **ruleName**   | The name of the ThousandEyes alert rule that has been triggered.                                                                                                                                                                                                |
   | **alertId**    | The unique ID of the alert.                                                                                                                                                                                                                                     |
   | **target**     | The URL that the test is set to.                                                                                                                                                                                                                                |

## Viewing ThousandEyes Alerts in AppDynamics Dashboards

### Metrics Widgets

To have ThousandEyes alerts appear in AppDynamics dashboards as overlays on metrics widgets, do the following:

1. Navigate to the dashboard widget and click to edit it.
2. In the **Edit Widget** dialog, find the **Events** section and select the **Show Events** option.
3. Ensure that the **Data Source** field shows the name of the application you want to show alerts about.
4. Select **Event Types: Custom**.

   ![](/files/-MJ9Mm2_CNv-xbGvpaT4)

### Health Rules & Events Widgets

ThousandEyes alerts can also be displayed in the **Health Rules & Events** widgets, in both list and timeline view.

1. Click to add a widget.
2. In the **Add Widget** dialog, select **Health Rules & Events > Event List**.

   ![](/files/-MJ9Mm2bTNa0Y2df8mpK)
3. Select the data source (typically, the application you are monitoring).
4. Select **Add Criteria > Custom Events**.

## Using ThousandEyes Alerts in AppDynamics Policies

You can use ThousandEyes alerts to create policies that combine AppDynamics and ThousandEyes alerts. For example, you might create a policy that triggers when both a ThousandEyes network alert occurs as well as an AppDynamics slow application response time alert.

1. In the **Alert & Respond** section, select **Policies > Create**.
2. In the **Edit Policy** dialog, select **Custom Events**.
3. In the **Add Custom Event Filter** dialog, in the **Custom Event Type** field, enter **ThousandEyesAlert**.
4. Set property filters for **type** as **Network** and **alertState** as **TRIGGER**.

   ![](/files/-MJ9Mm2d9QOOsGDYZYIw)
5. Now select other conditions, such as **Slow Transactions**.

   ![](/files/-MJ9Mm2ft5dvKzUGp5wq)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thousandeyes.com/product-documentation/archived-documentation/appd-integration-alerts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
