# nevia logs

> Show what happened to your computers and databases, and what they printed

> Nevia is in early access for selected teams. The CLI installs with `curl -fsSL https://get.nevia.cloud | sh`, and the MCP server is at https://api.nevia.cloud/mcp. A person signs in once in the browser.
> Setup, sign-in and requesting access: [SKILL.md](https://nevia.cloud/SKILL.md). When Nevia fits and when it doesn't: [why.md](https://nevia.cloud/why.md).

> For the complete documentation index, see [llms.txt](https://nevia.cloud/llms.txt). This page's HTML version: https://nevia.cloud/docs/reference/cli/logs

`nevia logs [FLAGS] [RESOURCE]`

Events are what happened to a resource, such as created, slept, woke or oom\_killed, with the reason when known. Output records are lines a resource printed, on a stream such as stdout. Records are printed oldest first, with control characters shown escaped. The scope is the selected workspace, or every workspace you can see when none is selected. The window defaults to the hour before --until and may span at most 7 days, and a read reaches back at most 7 days; one read shows the newest 100 records in it. --follow prints the records in the window, at most the newest 10,000 with a warning when it leaves older ones out, then new records as they arrive, each once, and waits longer between reads while nothing happens. A record that reaches Nevia after a later one has printed prints when it arrives, up to 5 minutes late. An empty read names the events and streams it asked for that this deployment does not record yet. Under --json, a read prints the API's answer unchanged and --follow prints one record per line.

### Arguments

* `[RESOURCE]` - Computer or database ID or name (the same as one --resource)

### Options

* `--resource <RESOURCE>` - Computer or database ID or name (repeatable)
* `--project <PROJECT>` - Project ID or name (repeatable): the computers and databases in it, deleted ones included
* `--since <WHEN>` - Window start: an RFC 3339 time, a date, or a time ago such as 10m, 2h or 1d
* `--until <WHEN>` - Window end, exclusive, in the same forms as --since (default: now)
* `--type <TYPE>` - Only `event` records, what happened, or `output` records, what the resource printed

  **Choices:** `event`, `output`
* `--event <EVENT>` - Only this event, e.g. slept, woke or oom\_killed (repeatable; implies --type event)
* `-f, --follow` - Keep printing new records as they arrive, until interrupted
* `-h, --help` - Print help
