PodLog
PodLog streams log output from a container, similar to kubectl logs -f.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Define the version of the Connect protocol
Define the timeout, in ms
Request Body required
Section titled “Request Body required ”PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
PodLogRequest defines the parameters for streaming container logs. Fields align with corev1.PodLogOptions.
object
The target Kubernetes cluster identifier.
The namespace of the pod.
The name of the pod.
The container name. If omitted, the first container in the pod is used.
If true, stream logs as they are produced (like kubectl logs -f).
Number of lines from the end of the logs to show. If not set, all logs are shown.
A relative time in seconds before the current time from which to show logs.
An absolute time from which to show logs. Mutually exclusive with since_seconds.
If true, return the logs for the previous terminated container instance.
If true, add an RFC3339 timestamp at the beginning of every line of log output.
Limit the number of bytes returned from the server.
Responses
Section titled “ Responses ”Success
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
PodLogResponse contains a chunk of log data.
object
Raw log data bytes.
default
Section titled “default ”Error
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.
object
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.