---
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

---

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