---
title: "tail log file"
method: GET
path: "/log/view"
tags: ["State"]
---

# tail log file

`GET /log/view`

return last N lines in log file.

## Response `200`

OK

## Other responses

- `404` — not found
- `500` — internal error

## Changes

- **2026-07-17** `550a11354ae5` — 1 info
  - endpoint added
- **2022-07-02** `0f140e199de6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/lindb/apis/lindb-open-api/changes/log/view/get.md)

---

[API](https://skmtc.dev/lindb/apis/lindb-open-api.md) · [All operations](https://skmtc.dev/lindb/apis/lindb-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lindb/lindb-open-api/revisions/550a11354ae5/schema)
