Chainsaw: export a result
chainsaw_result_exportExport stored result data as CSV or JSONL text for reports or other tools, with paging to handle large results.
Instructions
Render a stored result as CSV or JSONL text for reports or other tools.
Large results are capped by rows and encoded response bytes; resume next_offset. CSV pages repeat their header. For stored text files resume next_byte_offset; those UTF-8 chunks may split records and must be concatenated before parsing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Columns for CSV (dotted paths or shorthand). Default overview set. | |
| format | No | csv, jsonl, or text (an alias of csv). CSV flattens the standard columns of hunts and searches; analysis handles use their sampled top-level keys. | csv |
| handle | Yes | Result handle returned by a hunt, search, dump or analysis tool. | |
| offset | No | ||
| max_rows | No | Row cap for the export. | |
| max_bytes | No | Encoded response byte budget. | |
| byte_offset | No |