Convert Timestamp to ObjectId
The Convert Timestamp to ObjectId mapping (objectid) transforms a timestamp found at the from path into a MongoDB-compatible ObjectId, which is then stored at the to path. Supports both second and millisecond timestamps.
Attributes for Convert Timestamp to ObjectId
| Attribute | Required | Description |
|---|---|---|
| from | Y | Defines the source field for the mapping. |
| to | Y | Defines where the result should be inserted. |
| Function | Y | Should be set to "objectid". |
| Category | Y | Must be "enrich" to work as an enrich mapping. |