# Live Tail

Live Tail streams new log lines to your browser as they're ingested,
without polling or refreshing. It's the **Live tail** tab of every source; the
[Live tail overview](https://tailcove.dev/product/live-tail) shows it at a glance.

## How it works

Lines don't stream one at a time. The [ingest pipeline](https://tailcove.dev/docs/sending-logs/http-api)
buffers incoming lines and writes them to storage in batches; once a batch
is written, it's broadcast over a private, source-scoped WebSocket channel,
so what you see arrive in Live Tail is one small batch at a time (up to
100 lines), not a line-by-line firehose. If an unusually large batch lands
at once, the view shows the most recent 100 lines from it and a "N lines
skipped" notice rather than trying to render all of them.

When you open Live Tail, it first loads the last 100 lines over a normal
HTTP request so the view isn't empty, then switches to the live stream;
lines are deduplicated, so nothing you already saw in that initial load
gets shown twice.

Because it's backed by a real-time connection rather than a request/response
cycle, there's no meaningful polling delay: lines typically appear within
a second or two of being sent, bounded by how quickly the buffer's current
batch fills up.

## Using it

- Open a source and choose the **Live tail** tab (or **Live tail** on its Logs
  page).
- New lines appear at the top, newest first. While the list is at the top it
  follows them; scroll down or open a line and it holds still, counting the
  new lines until you press **Jump to latest**. **Pause** freezes the view
  while the stream keeps buffering.
- Click any line to load its full, untruncated `context`: Live Tail only
  streams a lean payload (timestamp, level, a truncated message, host) to
  keep things fast; the rest is fetched on demand.
- The filter box and the level filter narrow the lines on screen by text in
  the message or host. They are not the [query language](https://tailcove.dev/docs/query-language);
  for a full search use the Logs tab.

## Access

Live Tail is authenticated the same way as the rest of the app: you must
be signed in and a member of the team that owns the source. There's no
separate "share this live view" link; anyone who needs to watch a
source's logs needs a team account with access to it.
