Argocd Get Pod Logs
argocd_get_pod_logsFetch pod logs from Argo CD applications to troubleshoot container issues, filter lines, and review prior container instance logs.
Instructions
Get container logs (never follows). Returns lines with pod and timestamp, the pods seen, and a shown_lines count; stops at the stream's last marker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Owner kind, e.g. Deployment | |
| name | Yes | Application name; accepts namespace/name for apps-in-any-namespace | |
| group | No | Owner API group | |
| filter | No | Only lines containing this string | |
| project | No | Project; with it a missing app is 404 and a wrong-project app is 403 | |
| pod_name | No | Pod name; or pass kind + resource_name | |
| previous | No | Logs from the previous container instance | |
| container | No | Container name | |
| namespace | No | Pod namespace | |
| match_case | No | Case-sensitive filter | |
| tail_lines | No | Lines from the tail (0-1000) | |
| app_namespace | No | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
| resource_name | No | Owner resource name | |
| since_seconds | No | Only logs newer than N seconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |