capabilities.work

Stream logs from a named pod in an application

One step with Harness. We can help you get access.

Look something up

Stream logs from a named pod in an application

with Harness
Works with AI assistants

Use Harness: its Harness Applications API lets you stream logs from a named pod in an application in a single step (GET /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/pods/{query.podName}/logs). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I stream logs from one specific pod belonging to my GitOps app?
  • Can I see the previous container's logs for a pod that restarted?
Say it to your AI assistant
  • Stream logs from pod {pod} in application {app} on agent {agent}.
  • Follow logs of pod {pod} in {app} (agent {agent}) since {seconds} seconds ago.
For your developer

GET /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/pods/{query.podName}/logs in Harness Applications API. Full spec on APIs.io.