event_enrichment_defaults
Creates, updates, deletes, gets or lists an event_enrichment_defaults resource.
Overview
| Name | event_enrichment_defaults |
| Type | Resource |
| Id | pagerduty.enrichment.event_enrichment_defaults |
Fields
The following fields are returned by SELECT queries:
- get
The account default Event Enrichment.
| Name | Datatype | Description |
|---|---|---|
default | object | The current account default Event Enrichment. Null if no default is set. |
previous_default | object | The previous account default Event Enrichment, if one was replaced. Only present after a PUT request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | 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 /> | ||
update | update | 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 /> |
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.
| Name | Datatype | Description |
|---|
SELECT examples
- get
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
- update
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;