Skip to main content
Read records from a stream.

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:

Encrypted streams

Or pass the key on the command line:
The same --encryption-key and --encryption-key-file flags also apply to s2 tail.

Options


Tail

Like tail on Unix, it shows the last N records from a stream.
Follow for new records with -f: