Read from the beginning
JSON output
Read from a timestamp
Read from a tail offset
Follow for new records
Without a limit (-n or -b), read keeps tailing and waits for new records indefinitely:
Options
| Flag | Description |
|---|---|
-s, --seq-num | Starting sequence number (inclusive) |
--timestamp | Starting timestamp in milliseconds since epoch |
--ago | Starting timestamp as a human-friendly delta (e.g. 1h, 30m) |
--tail-offset | Start from N records before the tail |
-n, --count | Limit number of records |
-b, --bytes | Limit number of bytes |
--until | Stop at this timestamp (exclusive, milliseconds since epoch) |
--clamp | Clamp the start position at the tail |
--format | Output format: text (default), json, json-base64 |
-o, --output | Write to a file instead of stdout |
Tail
Liketail on Unix — shows the last N records from a stream.
-f:

