Observability

Request the Kubernetes monitor to start sending logs for the specified container

post/spaces/{spaceIdentifier}/observability/logs/sessions

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

Request body

ContainerNamestring required
DesiredOrKubernetesMonitoredResourceIdstring required
EnvironmentIdstring required
MachineIdstring required
PodNamestring required
ProjectIdstring required
ShowPreviousContainerboolean required
SpaceIdstring required
TenantIdstring

Example request

{
  "EnvironmentId": "Environments-1",
  "MachineId": "Machines-1",
  "ProjectId": "Projects-1",
  "SpaceId": "Spaces-1",
  "TenantId": "Tenants-1"
}

Response

Confirmation response containing any errors that might have occurred during communications with the Kubernetes Monitor

SessionIdstring uuid required

Changes

No recorded changes to this endpoint across all 7 revisions of this API.