Forrester Total Economic Impactâ„¢ study finds Edwin AI delivered a 313% ROI for composite organization.

Read more

The LogicMonitor Edwin AI New Relic Integration enables Edwin AI to receive event data from your New Relic environment in real time using webhooks. This enables automated response, alert enrichment, and cross-platform incident correlation.

The integration supports structured JSON payloads using the Edwin Common Event Format (CEF) to enrich event data with test metrics, rule metadata, and more.

Requirements for Configuring the Edwin AI New Relic Integration

To configure the Edwin AI New Relic Integration, you need the following:

Configuring the Edwin AI New Relic Integration

  1. Configure a webhook destination in New Relic.
    For more information, see Notifications and alert destinations from New Relic.
  2. Include the following details in a new contact point:
    • Endpoint URL https://<accountname>.dexda.ai/integration/event/v1
    • Authorization—Basic
    • Username—Edwin Client ID
    • Password—Edwin Secret
  3. Create a new alert workflow in New Relic.
    This workflow should contain all events that you want forwarded to Edwin.
    For more information, see Workflows from New Relic.
  4. Create a custom payload template to map New Relic alert data to Edwin.
    For more information, see Custom New Relic Payload Template Example.

Custom New Relic Payload Template Example

A Custom Payload Template enables you to customize notification event data when creating a webhook in New Relic. For more information, see Notification message templates from New Relic.

The following payload example dynamically maps New Relic alert data to the Edwin AI CEF structure:

[
 {
 "cef": {
   "eventCi": {{ json entitiesData.names.[0] }},
   "eventObject" : {{json accumulations.policyName.[0] }},
   "eventName" : {{ json issueTitle }},
   "eventDescription" : {{ json annotations.description.[0] }},
   "eventSeverity":
      {{#eq state "CLOSED"}}0{{else}}
      {{#eq priority "CRITICAL"}}4{{else}}
      {{#eq priority "HIGH"}}3{{else}}
      {{#eq priority "MEDIUM"}}2{{else}}
      0{{/eq}}{{/eq}}{{/eq}}{{/eq}},
   "eventId": {{ json issueId }},
   "eventTimestamp" : {{ updatedAt }},
   "eventSourceIdLink": {{ json issuePageUrl }},
   "eventSourceId" : {{ json issueId }},
   "eventSource": "New Relic",
   "sourceRecord": {
        "id": {{ json issueId }},
        "issueUrl": {{ json issuePageUrl }},
        "title": {{ json annotations.title.[0] }},
        "priority": {{ json priority }},
        "impactedEntities": {{json entitiesData.names}},
        "totalIncidents": {{json totalIncidents}},
        "state": {{ json state }},
        "trigger": {{ json triggerEvent }},
        "isCorrelated": {{ json isCorrelated }},
        "createdAt": {{ createdAt }},
        "updatedAt": {{ updatedAt }},
        "sources": {{ json accumulations.source }},
        "alertPolicyNames": {{ json accumulations.policyName }},
        "alertConditionNames": {{ json accumulations.conditionName }},
        "workflowName": {{ json workflowName }}
      },
   "class": "event",
   "version": "1.1",
   "eventDomain" : ""
 },
 "enrichments": {
     }
 }
]

For more information, see Event Records.

14-day access to the full LogicMonitor platform