AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。

agentengine ログのエクスポート

最大24時間分のランタイムログをエクスポートします。

カスタマーに表示されるエージェントとツールのランタイムログを、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.gz
agentengine 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 ログ - エージェントのランタイムログをストリーミングします。
このページを評価