---
title: "Get system logs"
method: GET
path: "/v1/logs/system"
tags: ["Events"]
---

# Get system logs

`GET /v1/logs/system`

Returns kubefwd system logs from the internal ring buffer.
Captures all logrus output for debugging and monitoring.

## Query parameters

- `count` integer
- `level` 'debug' | 'info' | 'warn' | 'error' | 'fatal' | 'panic'

## Response `200`

System log entries

- object
  - `success` boolean
  - `data` object
    - `logs` LogEntry[]
      - `timestamp` string, date-time
      - `level` 'debug' | 'info' | 'warn' | 'error' | 'fatal' | 'panic'
      - `message` string
    - `totalCount` integer — Total entries in the buffer
  - `error` ErrorInfo
    - `code` string
    - `message` string
  - `meta` MetaInfo
    - `count` integer
    - `timestamp` string, date-time

## Other responses

- `401` — Missing or invalid API key

---

[API](https://skmtc.net/txn2/apis/kubefwd-api.md) · [All operations](https://skmtc.net/txn2/apis/kubefwd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txn2/kubefwd-api/versions/e4f8bfb653cf/schema)
