---
title: "log head · RUAL Documentation"
description: "The newest entry of a key: its created sequence and id. An order's latest event, a channel's latest message. A RUAL data block in the ordered log group."
canonical: https://docs.rual.nl/block-types/data/log_head
language: en
---

# log head

This block is part of the [`data`](https://docs.rual.nl/block-types/data) group and was last modified in core [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

The newest entry of a key: its created sequence and id. An order's latest event, a channel's latest message.

- storage `value` required the storage the log's entries are documents of; it names the log

- key `value` required the log within the storage: an order, an account, a channel

- seq `number`

- id `value`

- error `value`

seq is 0 and id empty for a key with no entry in the log. The head only moves forward, except when a hard delete removes it. A sequence is a millisecond stamp from the key's own clock, max(now ms, the key's last + 1), so it is strictly increasing per key in commit order and compares with a cursor (cursor_set, cursor_lag).

## Version history

Introduced in [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

- [`v15.0.2`](https://docs.rual.nl/core-versions/150002): block added in this release.

- [Back to `data`](https://docs.rual.nl/block-types/data): Return to the main group to view all sub-groups

- [Back to `ordered log`](https://docs.rual.nl/block-types/data?group=ordered%20log): Return to the group to view all blocks within this group
