Get Microservice Container Logs

get

/api/microservice/Workload/readLogs

Gets microservice container logs. For performance reasons, only the last 20 lines of logs are returned.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : microserviceWorkloadReadLogs
Type: object
Show Source
  • Container Name
    Example: container-node
  • message for log entry generated by conatiner
    Example: 2023-10-20 10:18:23.391 [INFO][52] cni-config-monitor/token_watch.go 225: Update of CNI kubeconfig triggered based on elapsed time.
  • Time stamp
    Example: 2023-10-20T10:18:23.391270632Z

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top