Skip to main content

event_enrichment_associations

Creates, updates, deletes, gets or lists an event_enrichment_associations resource.

Overview

Nameevent_enrichment_associations
TypeResource
Idpagerduty.enrichment.event_enrichment_associations

Fields

The following fields are returned by SELECT queries:

A list of associations for the Event Enrichment.

NameDatatypeDescription
idstringThe ID of the associated Service or Event Orchestration.
selfstring (url)The API show URL at which the associated resource is accessible.
summarystringThe name of the associated Service or Event Orchestration.
typestringThe type of the associated resource. (service_reference, event_orchestration_reference)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidassociation_type, limit, offsetEvent Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.<br /><br />Associating an Event Orchestration or Service with an Event Enrichment allows for the enrichment to be evaluated when events are ingested for that Event Orchestration or Service<br /><br /><!-- theme: warning --><br /><br />> ### Early Access<br />> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.<br /><br />Retrieve all items (Services or Event Orchestrations) associated with an Event Enrichment. If the API key lacks view access to an associated target, that item will not be returned in the results.<br />
createinsertid, associationsEvent Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.<br /><br />Associating an Event Orchestration or Service with an Event Enrichment allows for the enrichment to be evaluated when events are ingested for that Event Orchestration or Service<br /><br /><!-- theme: warning --><br /><br />> ### Early Access<br />> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.<br /><br />Add new associations between an Event Enrichment and Services or Event Orchestrations.<br />
deletedeleteidEvent Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.<br /><br />Associating an Event Orchestration or Service with an Event Enrichment allows for the enrichment to be evaluated when events are ingested for that Event Orchestration or Service<br /><br /><!-- theme: warning --><br /><br />> ### Early Access<br />> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.<br /><br />Remove associations between an Event Enrichment and Services or Event Orchestrations.<br />

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the Event Enrichment.
association_typestringFilter associations by type. Either "service" or "event_orchestration".
limitintegerThe number of results per page.
offsetintegerOffset to start pagination search results.

SELECT examples

Event Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.<br /><br />Associating an Event Orchestration or Service with an Event Enrichment allows for the enrichment to be evaluated when events are ingested for that Event Orchestration or Service<br /><br /><!-- theme: warning --><br /><br />> ### Early Access<br />> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.<br /><br />Retrieve all items (Services or Event Orchestrations) associated with an Event Enrichment. If the API key lacks view access to an associated target, that item will not be returned in the results.<br />

SELECT
id,
self,
summary,
type
FROM pagerduty.enrichment.event_enrichment_associations
WHERE id = '{{ id }}' -- required
AND association_type = '{{ association_type }}'
AND limit = '{{ limit }}'
AND offset = '{{ offset }}'
;

INSERT examples

Event Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.<br /><br />Associating an Event Orchestration or Service with an Event Enrichment allows for the enrichment to be evaluated when events are ingested for that Event Orchestration or Service<br /><br /><!-- theme: warning --><br /><br />> ### Early Access<br />> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.<br /><br />Add new associations between an Event Enrichment and Services or Event Orchestrations.<br />

INSERT INTO pagerduty.enrichment.event_enrichment_associations (
associations,
id
)
SELECT
'{{ associations }}' /* required */,
'{{ id }}'
RETURNING
status
;

DELETE examples

Event Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.<br /><br />Associating an Event Orchestration or Service with an Event Enrichment allows for the enrichment to be evaluated when events are ingested for that Event Orchestration or Service<br /><br /><!-- theme: warning --><br /><br />> ### Early Access<br />> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.<br /><br />Remove associations between an Event Enrichment and Services or Event Orchestrations.<br />

DELETE FROM pagerduty.enrichment.event_enrichment_associations
WHERE id = '{{ id }}' --required
;