Skip to main content

event_enrichment_defaults

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

Overview

Nameevent_enrichment_defaults
TypeResource
Idpagerduty.enrichment.event_enrichment_defaults

Fields

The following fields are returned by SELECT queries:

The account default Event Enrichment.

NameDatatypeDescription
defaultobjectThe current account default Event Enrichment. Null if no default is set.
previous_defaultobjectThe previous account default Event Enrichment, if one was replaced. Only present after a PUT request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectEvent 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 />The default Event Enrichment gets applied to every Event Orchestration or Service that is not already associated to any other Event Enrichment<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 the account default Event Enrichment.<br />
updateupdateEvent 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 />The default Event Enrichment gets applied to every Event Orchestration or Service that is not already associated to any other Event Enrichment<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 />Mark a specific Event Enrichment as the account default. Set the request body to default: null to clear the current default.<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

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 />The default Event Enrichment gets applied to every Event Orchestration or Service that is not already associated to any other Event Enrichment<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 the account default Event Enrichment.<br />

SELECT
default,
previous_default
FROM pagerduty.enrichment.event_enrichment_defaults
;

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 />The default Event Enrichment gets applied to every Event Orchestration or Service that is not already associated to any other Event Enrichment<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 />Mark a specific Event Enrichment as the account default. Set the request body to default: null to clear the current default.<br />

UPDATE pagerduty.enrichment.event_enrichment_defaults
SET
default = '{{ default }}'
RETURNING
default,
previous_default;