--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: evtx excerpt: | DuckDB Community Extensions Windows Event Log (.evtx) inspection in SQL — validate a log and count its event records straight from read_blob(), no evtxparse or plaso extension: name: evtx description: Windows Event Log (.evtx) inspection in SQL — validate a log and count its event records straight from read_blob(), no evtxparse or plaso version: 0.1.0 language: Rust build: cargo license: MIT excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64_mingw;linux_amd64_musl" requires_toolchains: "rust;python3" maintainers: - alitrack repo: github: alitrack/duckdb-evtx ref: a223ab1b778230b4a3b02a9e23fed4ad6aea678f ref_next: a223ab1b778230b4a3b02a9e23fed4ad6aea678f docs: hello_world: | INSTALL evtx FROM community; LOAD evtx; -- Wire it to your own logs: an .evtx file is just a BLOB -- SELECT evtx_is_valid(read_blob('security.evtx')); -- SELECT evtx_record_count(read_blob('security.evtx')); -- Self-contained probe: a non-evtx blob is invalid, zero records SELECT evtx_is_valid(CAST('not an evtx' AS BLOB)); -- false SELECT evtx_record_count(CAST('not an evtx' AS BLOB)); -- 0 extended_description: | ## evtx — Windows Event Log inspection in SQL The two cheap primitives every DFIR triage starts with — is it a valid Event Log, and how many records — as SQL functions over a BLOB column. | Function | Returns | Notes | |---|---|---| | `evtx_is_valid(bytes)` | BOOLEAN | Magic + structure check | | `evtx_record_count(bytes)` | BIGINT | Event record count (capped at 5,000,000) | | `evtx_parse(bytes)` | table | One row per event record with lifted fields | → [GitHub](https://github.com/alitrack/duckdb-evtx) extension_star_count: 0 extension_star_count_pretty: 0 extension_download_count: null extension_download_count_pretty: n/a image: '/images/community_extensions/social_preview/preview_community_extension_evtx.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Linux ARM64 | ❌ | ❌ | ❌ | ❌ | ✅ | | macOS AMD64 | ❌ | ❌ | ❌ | ❌ | ❌ | | macOS ARM64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Windows AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions
| function_name | function_type | description | comment | examples | |-------------------|---------------|-------------|---------|----------| | evtx_is_valid | scalar | NULL | NULL | | | evtx_record_count | scalar | NULL | NULL | | ### Overloaded Functions
This extension does not add any function overloads. ### Added Types
This extension does not add any types. ### Added Settings
| name | description | input_type | scope | aliases | typed_value | |----------------|---------------------------------------------------------|------------|--------|---------|-------------| | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |