When was this record last seen?
The When was this record last seen? mapping (lastseen) tracks when a given value (e.g., device ID, user ID) was last observed. It retrieves the last seen timestamp from the collection specified and updates it to the current time. If the value has never been seen, the result is set to "never".
Attributes for When was this record last seen?
| Attribute | Required | Description |
|---|---|---|
| From | Yes | Defines the source field for the mapping. |
| To | Yes | Defines where the result should be inserted. |
| Precedence | Yes | Determines the order in which this mapping is applied relative to others. |
| Function Type | Yes | Must be "Enrichment/lookup functons" |
| Function | Yes | Should be set to "When was this record last seen?". |
| collection | No | Defines the collection in MongoDB in which to save the information. |