Skip to main content

event_enrichment_rules

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

Overview

Nameevent_enrichment_rules
TypeResource
Idpagerduty.enrichment.event_enrichment_rules

Fields

The following fields are returned by SELECT queries:

The Event Enrichment rules (orchestration path).

NameDatatypeDescription
created_atstring (date-time)The date/time the rules were created.
created_byobjectReference to the user that created the rules.
parentobjectReference to the parent Event Enrichment.
selfstring (url)The API show URL at which the object is accessible.
setsarrayAn array of sets of rules. Must contain a set with id start.
typestringThe type of this orchestration path. (event_enrichment)
updated_atstring (date-time)The date/time the rules were last updated.
updated_byobjectReference to the user that last updated the rules.
versionstringVersion of the rules configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectidEvent 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 /><!-- 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 />Get the rules associated with an Event Enrichment.<br />
updateupdateid, orchestration_pathEvent 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 /><!-- 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 />Update the enrichment rules for a specific Event Enrichment. Performs a full replacement of the rules set.<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.

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 /><!-- 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 />Get the rules associated with an Event Enrichment.<br />

SELECT
created_at,
created_by,
parent,
self,
sets,
type,
updated_at,
updated_by,
version
FROM pagerduty.enrichment.event_enrichment_rules
WHERE id = '{{ id }}' -- required
;

UPDATE 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 /><!-- 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 />Update the enrichment rules for a specific Event Enrichment. Performs a full replacement of the rules set.<br />

UPDATE pagerduty.enrichment.event_enrichment_rules
SET
orchestration_path = '{{ orchestration_path }}'
WHERE
id = '{{ id }}' --required
AND orchestration_path = '{{ orchestration_path }}' --required
RETURNING
orchestration_path;