최대 24 시간 분량의 런타임 로그를 내보냅니다.
Synopsis
고객에게 표시되는 에이전트 및 도구 런타임 로그를 gzip으로 압축된 JSON Lines로 내보냅니다.
--service가 필요합니다. 창은 최대 24 시간입니다. --since는 기간 또는 RFC3339 타임스탬프를 사용하며, --until은 기본적으로 현재 시간으로 설정됩니다. 다운로드는 원자적으로 작성되므로 내보내기가 실패하거나 중단되어도 대상에 부분 파일이 남지 않습니다. 출력 경로는 이미 존재해서는 안 됩니다. 압축된 상태에서 20 MiB 또는 디코딩된 상태에서 100 MiB보다 큰 내보내기는 거부됩니다.
예시:
agentengine logs export --service agentagentengine logs export --service tool --since 6h --output logs.jsonl.gzagentengine logs export [flags]옵션
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list')-h, --help help for export --org-id string Organization ID-o, --output string Output path (default: agent-logs-<service>-<end-time>.jsonl.gz) --project-id string Project ID --service string Required runtime service to export: agent or tool --since string Start time as a duration (e.g. 6h, 24h) or RFC3339 timestamp (maximum 24h) (default "24h") --until string End time as a duration (e.g. 5m) or RFC3339 timestamp (default: now) --workspace string Monorepo: select a specific workspace by name (from root agent.yaml) --workspace-id string Workspace ID부모 명령에서 상속된 옵션
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)다음도 참조하세요.
- agentengine 로그 - 에이전트 런타임 로그를 스트리밍합니다.