evtx_export
Export filtered Windows Event Log records to a unique JSONL file with SHA-256 and a preview, reporting incomplete scans or row caps.
Instructions
Persist all selected EVTX matches in a unique JSONL file with SHA-256 and a bounded preview. Explicit scan/row caps report incomplete; preview clipping does not discard file rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | Field-specific AND predicates. Missing fields fail comparisons, including neq. Use exists for presence; ordering uses numeric operands or aware ISO timestamps on TimeCreated. | |
| fields | No | System fields, dotted EventData/UserData paths, or unambiguous aliases. | |
| format | No | jsonl | |
| compact | No | Compact rows with event references; selects structured output by default. | |
| contains | No | ||
| end_time | No | ||
| max_rows | No | Optional explicit export cap; a capped export reports incomplete. | |
| max_scan | No | Maximum source records examined. A capped result reports an inexact total. | |
| provider | No | ||
| event_ids | No | ||
| evtx_path | Yes | ||
| max_chars | No | Response budget for metadata plus preview. Does not limit the exported file. | |
| output_dir | Yes | Explicit destination directory. A unique 0600 file is published without overwriting existing files. | |
| start_time | No | ||
| not_contains | No | ||
| preview_rows | No | ||
| timestamp_precision | No | both adds timestamp_second in UTC without changing TimeCreated. | full |
| where_case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sha256 | Yes | ||
| preview | Yes | ||
| exported_rows | Yes | ||
| scan_complete | Yes | ||
| exported_bytes | Yes | ||
| returned_chars | Yes | ||
| export_complete | Yes | ||
| payload_clipped | Yes | ||
| preview_clipped | Yes | ||
| export_limit_hit | Yes | ||
| preview_returned | Yes | ||
| serialized_chars | Yes | ||
| time_filter_errors | No |