v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
Database Cluster

Get database cluster component logs

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

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

Path parameters

namespacestring required

Name of the namespace

namestring required

Name of the database cluster. Can be found under Metadata["name"] of the DatabaseCluster object.

component_namestring required

Name of the component.

Query parameters

containerstring

Container name. If omitted, the first container in the pod spec is used.

followboolean

Stream logs continuously

tailLinesinteger

Number of lines from the end of the logs to show

sinceSecondsinteger

Return logs newer than this many seconds

sinceTimestring date-time

RFC3339 timestamp to start logs from

timestampsboolean

Include timestamps in log lines

previousboolean

Return logs from the previous container instance

limitBytesinteger

Maximum bytes to return

Response

Successful operation