Argocd Get Pod Logs
argocd_get_pod_logsFetch container logs from an Argo CD application's pods to troubleshoot issues. Filter by app, pod, container, namespace, tail lines, or previous instance.
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 (1-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 |