---
title: "Get database cluster component logs"
method: GET
path: "/namespaces/{namespace}/database-clusters/{name}/components/{component_name}/logs"
tags: ["Database Cluster"]
---

# Get database cluster component logs

`GET /namespaces/{namespace}/database-clusters/{name}/components/{component_name}/logs`

This API gets the logs of the component specified by the `component_name` of the database cluster specified by the `name` and `namespace`.

## Path parameters

- `namespace` string, required
- `name` string, required
- `component_name` string, required

## Query parameters

- `container` string
- `follow` boolean
- `tailLines` integer
- `sinceSeconds` integer
- `sinceTime` string, date-time
- `timestamps` boolean
- `previous` boolean
- `limitBytes` integer

## Response `200`

Successful operation

## Other responses

- `400` — Unsuccessful operation
- `500` — Internal server error

## Changes

- **2025-12-31** `2c19c6695840` — 1 info
  - endpoint added
- **2024-04-12** `dec31e5eea8e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openeverest/apis/openeverest-schema/changes/namespaces/:namespace/database-clusters/:name/components/:component_name/logs/get.md)

---

[API](https://skmtc.dev/openeverest/apis/openeverest-schema.md) · [All operations](https://skmtc.dev/openeverest/apis/openeverest-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openeverest/openeverest-schema/revisions/46b19e13670b/schema)
