last updated: November 24, 2026
Third-party vendors provide semantically distinct entities—such as events, incidents, and alerts—using varied JSON structures and key names. To normalize inter-vendor and payload heterogeneity for streamlined processing and operational support, raw JSON keys containing relevant event- or incident-related information are reassigned to D3 data model or user-defined field names. This key reassignment process is known as field mapping.
IFM and EFM in the Data Pipeline
Field Mapping Types
There are two field mapping types: Incident Field Mapping (IFM) for incident-level data and Event Field Mapping (EFM) for event-level data. Both occur in the post-ingestion processing pipeline, which varies slightly based on the integration fetch command used.
Fetch commands are of two main types:
-
Fetch Incident – Applies both incident field mappings and event field mappings.
-
Fetch Event – Applies only event field mappings.
Source Field as Individual Mappings
A source field is a relative JSONPath expression used in EFM and IFM to reference a specific field within the raw JSON payload. The source field begins at the array defined by the Main JSON Path (IFM) or Event Root Path (EFM), and traverses deeper into the JSON structure to reach the desired key.
See Source Field — Supported JSONPath Expressions for syntax details. A destination field can take its value from more than one source field, tried in turn. See Fallback Paths below.
WHEN THE RAW DATA DOES NOT FIT
D3’s system integrations already define the default Main JSON Path, Event Root Path and field mappings. If a data source sends its raw data in a different structure, but the data should still fit those paths and field mappings, you do not need to rebuild the mappings. Use an event formatter to reshape the raw data so that it fits the existing paths and field mappings before D3 processes it. Event formatters are available on webhook data sources and scheduled fetches; on a webhook data source, choose it under Additional Settings > Data Formatter. See Event Formatter. If only some records keep a value in a different place, you can instead add a second source field to that one destination field. See Fallback Paths.
Fallback Paths
A fallback path is an extra source field for a destination field that already has one in the same event mapping set. During ingestion, D3 tries the field's paths in order and fills the field from the first path that finds a value. It lets one mapping set cover records that keep the same value in different places. For example, some alerts may carry the source IP address in src.ip and others in network.source_ip. With both paths mapped to Source IP address, every event gets its source IP address, whichever place the record used.
A field with a single path works as it did before. Existing mappings need no change.
Adding a Fallback Path
Add a second path to a field that is already mapped in the set.
-
In the Event Field Mapping window, select the mapping set, then select Add Mapping.
-
Under Source fields from, select … and pick the second place the value can be, for example
network>source_ip. -
Under Destination fields in D3, search for the field that is already mapped. Its row shows how many paths it has, for example Mapped · 1 path. Select Select as fallback. The window says the field is already mapped in this set, and that the new path is saved as the next fallback (for example Fallback 1) and is used only when the earlier paths have no value.
-
Select Save.
RESULT
The message "Added field mapping successfully" appears. In the mapping list, the new path appears under the field's first path, tagged Fallback 1. Further paths for the same field are tagged Fallback 2, Fallback 3 and so on.
A field with a fallback path
Path Order
The path order is the order in which D3 tries a field's paths: the first path, then Fallback 1, then Fallback 2, and so on. It is the order in which the paths were added.
-
The first path that finds a value fills the field. The later paths are not used for that record.
-
A path that finds nothing, or finds an empty value, is passed over, and D3 tries the next one.
-
If no path finds a value, the field stays empty, as it would with a single path.
-
A new path always goes last. A path moved onto the field from another destination field also goes last.
-
Editing a path without changing its destination field keeps its place.
An event filled from a fallback path
READER NOTE
There is no control to reorder a field's paths. To change the order, delete the paths that should come later and add them again in the order you want.
READER NOTE
Some mapping sets, including some in built-in integrations, already mapped one field from more than one path before 18.6. Those extra paths now show their Fallback tags.
Source Resolution
Each event or incident source defines how data for a vendor-specific entity type should be interpreted and normalized. In D3, source is implemented as an integration-specific, named configuration that links to an EFM or IFM set. To apply the correct set, D3 must resolve each object within the array defined by the Main JSON Path or Event Root Path to a specific source.
The Event Root Path points to an array, with each object evaluated against configured EFM sources. The Main JSON Path also points to an array, with each object evaluated against configured IFM sources and potentially containing a nested array referenced by the Event Root Path. A source's applicability is determined by a search string, which may be built-in or user-defined.
Search Strings
Each non-default source involves a search string that determines its applicability during source resolution. A search string evaluates data within the Main JSON Path or Event Root Path to determine whether a specific key exists and whether its value matches the configured value. When a key-value pair in the payload matches a configured search string, the corresponding EFM or IFM set is used to normalize the third-party data.
The search string must adhere to one of the following formats:
format 1
{<Descriminator JSONPath>}=<Discriminator's literal value without quotes>
format 2
{<Descriminator JSONPath>}={{<Regular expression matching discriminator's value>}}
Order Priority
When search strings from different sources simultaneously match different key-value pairs in the ingested JSON payload, only one non-default source is applied. For event mapping sets, the set higher in the Field Mapping Sets list is applied; to change the order, open the Field Mapping Sets menu (…), select Reorder, drag the sets, and select Save. For incident sources, the source with the lower Order Priority value is applied.
-
The (Default Event Source) mappings apply regardless of Order Priority.
-
Only one non-default event source applies per post-ingestion pipeline execution.
-
Search strings from multiple event sources may match fields within the same payload.
-
For event mapping sets, the set higher in the Field Mapping Sets list takes precedence.
-
For incident sources, the source with the lower Order Priority value takes precedence, even when it was created later.
-
In the example below, two incident sources match the same payload and set the title from different fields. With Order Priority 1 and 2, the title came from the first source; after the first source was changed to 3, the title came from the second.
Origin ID and Unique Event Key
This section is about the event field mapping. Incidents fetched by a Fetch Incident command have their own Origin ID and Unique Key in the incident field mapping, with different rules, described in Choosing the Unique Key and Origin ID.
Origin ID is the event field that holds the ID the source system gives an alert, the same in every copy of that alert the source sends. When a record arrives whose Origin ID matches an event D3 already has from the same data source, D3 updates that event in place instead of skipping the record or creating a second event. It keeps one event per alert when the source sends changed copies of the alert, for example a new severity or a new title, so the event always shows the alert's latest state.
The Unique Event Key is the event field D3 uses to recognize a duplicate. When a record's Unique Event Key matches an existing event in the site, D3 skips the record and creates no new event. If the Unique Event Key is not mapped, D3 uses the whole record as the key.
D3 checks Origin ID first. When Origin ID is mapped and the record's Origin ID matches an existing event, D3 updates that event, even if the record's Unique Event Key also matches. Only when Origin ID is not mapped, is empty in the record, or matches no event does D3 check the Unique Event Key.
|
|
Origin ID |
Unique Event Key |
|---|---|---|
|
Label in the destination field picker |
"Updates existing events" |
"Skips duplicate events" |
|
When a record matches |
The existing event is updated in place. |
The record is skipped. No event is created. |
|
Where D3 looks for a match |
Events from the same data source in the same site |
Events from any data source in the same site |
|
Order |
Checked first |
Checked when Origin ID finds no match |
|
When not mapped |
Records never update an existing event. |
The whole record is used as the key. |
In short
|
# |
Stage |
Where it happens |
|---|---|---|
|
1 |
Map Origin ID to the alert's ID field, and choose whether the preprocessing playbook runs again on an update |
The Event Field Mapping window of the integration's Fetch Event command (Configuration > Integrations) |
|
2 |
The source sends a changed copy of an alert |
The data source that ingests the alert, such as a webhook or a scheduled fetch (Data Ingestion) |
|
3 |
D3 matches the Origin ID and updates the existing event |
During ingestion (no screen) |
|
4 |
Review what changed |
The event's details: the Event Field History tab and the event's activity notes |
Mapping Origin ID
Map Origin ID so that changed copies of an alert update the event D3 already has.
-
In the Event Field Mapping window, select the mapping set, then select Add Mapping.
-
Under Source fields from, select … and pick the field that holds the alert's ID in the source, for example
alert_id. Use the type Text (a JSONPath). To use only part of the value, turn on Refine mapped value with Regex. -
Under Destination fields in D3, select Origin ID. It is the first row of the picker, labelled "Updates existing events".
-
Optionally, select Re-run preprocessing playbook on update. The setting appears once a source field is chosen and the destination is Origin ID. It is off by default. See Preprocessing Playbook on Update below.
-
Select Save.
Origin ID and Unique Event Key in the destination field picker
Origin ID mapped, with the re-run setting
RESULT
Records ingested from now on carry an Origin ID. When the source later sends a changed copy of one of these alerts, D3 updates the existing event.
COMMON ERROR
Saving Origin ID with the type DateTime or Placeholder fails with the message "Origin ID must be a JSONPath or Regex." Choose Text, with or without Refine mapped value with Regex.
READER NOTE
Map the Unique Event Key to the same field as Origin ID, or to a field that is at least as specific. If the Unique Event Key is shared by several alerts that have different Origin IDs, a record for a new alert matches no Origin ID, then matches the Unique Event Key of an earlier alert, and is skipped as a duplicate.
READER NOTE
On a site that already had a custom event field named Origin ID before 18.6, the field this section describes is listed as Origin ID (System). Map that one.
Event Updates
An event update is what D3 does to an existing event when a record with a matching Origin ID arrives. What it changes depends on what changed in the record.
|
What changed in the record |
What D3 does |
|---|---|
|
A value that a field mapping uses |
Updates the event's mapped fields and raw data, records the previous values on the event's Event Field History tab, adds the activity note "Event was updated during data ingestion (Origin ID match).", adds any new artifacts from the record to the event, and runs the On Incident Change playbooks of the incidents the event is linked to. |
|
Only raw data that no field mapping uses |
Refreshes the event's raw data and adds the activity note "Raw data was refreshed during data ingestion (Origin ID match)." No Event Field History entry is added. |
|
Nothing (the same record is sent again) |
Nothing. No history entry, no note, and no playbook run. |
The event keeps its Origin ID: an update never changes it.
To see what an update changed, open the event's details and select the Event Field History tab. It lists each changed field with its old value, its new value and the time of the update. The tab appears once an update has changed a mapped field.
The Event Field History tab of an updated event
READER NOTE
Turning off Events Deduplication on the Fetch Event command's Settings tab, which makes D3 process every incoming webhook payload as a separate event, does not stop these updates. Records with an Origin ID still update their existing event.
Preprocessing Playbook on Update
Re-run preprocessing playbook on update decides whether the preprocessing playbook of the event's data source runs again when a record updates an existing event. It is part of the Origin ID mapping and is off by default.
-
Off (the default): D3 updates the event straight from the field mapping, and the event keeps its status. Values that the preprocessing playbook set when the event was first ingested are replaced by the new mapped values.
-
On: D3 runs the preprocessing playbook on the update first. The playbook can escalate or dismiss the event. Escalation wins over dismissal, and an escalated event keeps its status. A record sent again unchanged does not run the playbook.
When the playbook runs on an update, its trigger data includes the key OriginIdMatch, which identifies the existing event being updated. A playbook task can use it to tell an update from a new event.
Origin ID and Update Identical Event
Origin ID is the recommended way to update an event when its source sends a changed copy. It needs no playbook. The Update Identical Event utility command, run in a preprocessing playbook, is still available for playbooks that use it.
COMMON ERROR
Update Identical Event cannot run on a record that updates an existing event through Origin ID. With Re-run preprocessing playbook on update on, the command fails with the message "Update Identical Event cannot run when a record updates an existing event through Origin ID. Remove this command from the playbook, or turn off Re-run preprocessing playbook on update in the Origin ID field mapping." Remove the command from that data source's preprocessing playbook, or turn the setting off.
Origin ID Scope and Limits
-
The source must be a JSONPath or a Regex. Origin ID accepts the type Text, with or without Refine mapped value with Regex.
-
Only events ingested after Origin ID is mapped can be updated. Events ingested before have no Origin ID, so no record ever matches them. A record for one of those alerts is checked against the Unique Event Key, as before.
-
Matching stays within one data source and one site. A record never updates an event from a different data source or a different site, even when the Origin IDs are equal.
-
A record sent again unchanged changes nothing. D3 skips it without adding a history entry or a note.
-
An update never changes the event's Origin ID.
-
Updates apply in the order the records arrive.
-
A record without a usable Origin ID is handled by the Unique Event Key. This is the case when the Origin ID path finds nothing, finds an empty value, or finds an object rather than a value. When it finds a list of values, they are joined into one Origin ID, separated by a comma and a space, and empty items are skipped. A list that holds objects gives no Origin ID.
READER NOTE
The Unique Event Key is checked across the whole site, while Origin ID matching stays within one data source. If two data sources in a site send records with the same Unique Event Key, the record from the second data source is skipped as a duplicate, so it never becomes an event of its own and its later copies have no event to update. Give each data source a Unique Event Key that other data sources do not share.