---
title: "Read Systemd Journal"
method: GET
path: "/api/v1/logs/systemd-journal"
tags: ["live logs"]
---

# Read Systemd Journal

`GET /api/v1/logs/systemd-journal`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/logs/systemd-journal`
- Auth: HTTP bearer

## Query parameters

- `limit` integer
- `before` string, nullable
- `after` string, nullable
- `device_id` string, nullable
- `service` 'dock-supervisor.service' | 'dock-link.service' | 'dock-link-standin.service' | 'dock-sim-supervisor.service' | 'dock-sim-link.service' | 'dock-power.service' | 'dock-gnss.service' | 'dock-mav.service' | 'dock-updater.service' | 'dock-healthcheck.service' | 'dock-forwarder.service': Closed set of Brumby-owned units collected on a dock device.
- `origin` string, nullable
- `priority` integer, nullable
- `boot_id` string, uuid, nullable
- `pid` integer, nullable

## Response `200`

Successful Response

- SystemdJournalFeedResponse: Cursor-paged journal records plus the complete selectable unit vocabulary.
  - `generated_at` string, date-time, required
  - `services` SystemdJournalService[], required
  - `entries` SystemdJournalEntryResponse[], required
    - `entry_id` string, required
    - `device_id` string, required
    - `observed_at` string, date-time, required
    - `received_at` string, date-time, required
    - `boot_id` string, uuid, required
    - `service` 'dock-supervisor.service' | 'dock-link.service' | 'dock-link-standin.service' | 'dock-sim-supervisor.service' | 'dock-sim-link.service' | 'dock-power.service' | 'dock-gnss.service' | 'dock-mav.service' | 'dock-updater.service' | 'dock-healthcheck.service' | 'dock-forwarder.service', required: Closed set of Brumby-owned units collected on a dock device.
    - `priority` integer, required
    - `severity` 'emergency' | 'alert' | 'critical' | 'error' | 'warning' | 'notice' | 'info' | 'debug', required: Stable names for syslog priorities 0 through 7.
    - `pid` integer, nullable, required
    - `process` string, nullable, required
    - `message` string, required
    - `message_truncated` boolean, required
    - `journal_cursor` string, required
    - `origin` 'n100' | 'fcu'
    - `transport` 'local' | 'serial' | 'tcp' | 'unknown'
  - `has_more` boolean, required
  - `next_cursor` string, nullable, required
  - `poll_cursor` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brumby/apis/brumby-platform-api.md) - [All operations](https://skmtc.dev/brumby/apis/brumby-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brumby/apis/brumby-platform-api/revisions/fe185e20813e?raw)
