Observability

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

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

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/spaces/{spaceIdentifier}/observability/logs/sessions
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

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 operation across all 13 revisions of this API.