New Relic infrastructure integrations include an integration for reporting your AWS Health data to New Relic. This document explains how to activate this integration and describes the data that can be reported.
This integration collects information from AWS Health about events that can affect the AWS resources and services globally or in a specific account. This data can help you anticipate potential application outages.
AWS Health reports three types of events:
- Open issues: Shows issues that might affect your AWS infrastructure.
- Scheduled changes: Informs you in advance of scheduled activities that might have an impact on AWS services and resources.
- Notifications: Provides additional information.
Health events will be linked to existing entities for AWS EC2 resources and will inherit all the entity metadata available such as region, availabilityZone, resource tags and more.
To see the complete list of attributes available use the
FROM AwsHealthNotification SELECT keyset()
This integration is available only for AWS customers who have a Business or Enterprise support plan, because this is a requirement for using the AWS Health API.
To enable this integration follow standard procedures to Connect AWS services to New Relic.
You can change the polling frequency and filter data using configuration options.
Default polling information for the AWS Health integration:
- New Relic polling interval: 5 minutes
To use this integration's data:
- Go to one.newrelic.com > All capabilities > Infrastructure > AWS.
- Select any of the available AWS Health integration links.
- To view a timeline when an AWS Health event is created, modified, or deleted, use the Events page.
AWS Health events are ingested as AwsHealthNotification events. You can query, create widgets, and define NRQL alert policies based on these events.
The following table shows the main attributes available for AwsHealthNotification events:
The AWS resource ARN.
The ARN of the AWS Health event itself.
The AWS affected region.
Number of affected resources. Auto-generated metric that can be used to define New Relic alert conditions.
Detailed description of the event.
AWS Health category: Issue, ScheduledChange, AccountNotification, Investigation.
A list of unique identifiers for event types. For example,
The AWS services associated with the event. For example, EC2, RDS.
The AWS health event status:
The date and time that the event began (in string format).
The epoch timestamp (in seconds) for event began.
The date and time for event resolution (in string format).
The epoch timestamp (in seconds) for event resolution.
The date and time for the last event update received (in string format).
The epoch timestamp (in seconds) for the last event update received.
NRQL alert conditions can be defined to receive notifications when health events are reported by AWS.
For example, the following query monitors any open issues on EC2 by resource:
SELECT uniqueCount(affectedEntityArn) FROM AwsHealthNotification where statusCode = 'open' and eventTypeCategory = 'Issue' and service = 'EC2'