{"schemaVersion":1,"resourceType":"connector","slug":"evtx","name":"Windows event logs (EVTX)","catalog":"evtx","description":"Parse Windows .evtx event-log files into queryable SQL rows for forensics and incident response","language":"Rust","categories":["security","devtools"],"repository":"https://github.com/Query-farm/vgi-evtx","license":"MIT","generatedAt":"2026-12-01T18:22:16+00:00","runtime":{"engineVersion":"2.0.1","protocolVersion":"3.4"},"release":{"tag":"v0.5.0","publishedAt":"2026-11-25T20:39:55Z","url":"https://github.com/Query-farm/vgi-evtx/releases/tag/v0.5.0"},"links":{"html":"https://query.farm/products/orchard/connectors/evtx/","llms":"https://query.farm/products/orchard/connectors/evtx/llms.txt","markdown":"https://query.farm/products/orchard/connectors/evtx/index.md","json":"https://query.farm/products/orchard/api/v1/connectors/evtx.json","objects":"https://query.farm/products/orchard/api/v1/connectors/evtx/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=evtx&q={query}"},"authentication":{"mode":"none_declared","guidance":"No service credentials are declared by this connector. Individual datasets, input files or deployments may have their own prerequisites.","interpretation":"Secret parameter required flags describe the upstream declaration; they do not override the service-level mode above. Keep secrets in environment variables or the deployment secret store. SQL values in angle brackets are placeholders, not automatic environment lookups. Native DuckDB and Haybarn 2.0.1 do not provide a SQL getenv() function, even when worker-supplied snippets mention it. Read environment variables in your application and pass credential values through client parameter bindings (for example, Python con.execute(\"CREATE SECRET stripe (TYPE stripe, api_key ?)\", [os.environ[\"STRIPE_API_KEY\"]]) after attaching the connector. Omit unused optional parameters and keep real values out of saved SQL and logs.","secrets":[]},"deployment":{"local":{"methods":[{"id":"github","label":"From GitHub","icon":"simple-icons:github","steps":[{"title":"Attach the release directly","description":"Downloads the latest release for your platform and caches it locally.","lang":"sql","code":"ATTACH 'evtx' AS evtx (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-evtx'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'evtx' AS evtx (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-evtx:0.5.0'\n);"}]}],"pinnedMethods":[{"id":"github","label":"From GitHub","icon":"simple-icons:github","steps":[{"title":"Attach the release directly","description":"Uses the verified release each time you attach the connector.","lang":"sql","code":"ATTACH 'evtx' AS evtx (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-evtx@v0.5.0'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'evtx' AS evtx (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-evtx:0.5.0'\n);"}]}]},"selfHost":{"instructions":"https://github.com/Query-farm/vgi-evtx","connectionGuide":"https://query.farm/vgi/connect-to-a-worker/","guidance":"Deploy using the connector repository instructions and use its supported HTTP or SSH transport. Replace example URLs with your actual deployment; configure its authentication."},"queryFarm":{"available":true,"console":"https://auth.queryfarm.cloud/console/new?worker=evtx","organizationMonthlyMinimumUsd":10,"pricing":"https://query.farm/products/orchard/hosted/"},"publicDemo":null},"setup":{"extensions":{"duckdb":"SET allow_extension_repositories = 'allowed';\n\nCREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm\n    WITH PREFIX 'https://duckdb-extensions.query.farm';\n\nINSTALL vgi FROM query_farm;\nLOAD vgi FROM query_farm;","haybarn":"INSTALL vgi FROM community;\nLOAD vgi;"},"attachSql":"ATTACH 'evtx' AS evtx (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-evtx'\n);","attachOptions":[],"note":"Install and load VGI, attach the connector using the catalog alias shown here, then create required secrets. Replace placeholders and omit unused optional secret parameters. Satisfy file, network and credential prerequisites before executing a query."},"example":{"title":"See what you can query","sql":"SET VARIABLE evtx_sample = (SELECT content FROM read_blob('https://raw.githubusercontent.com/Query-farm/vgi-evtx/v0.4.0/test/sql/data/sample-security.evtx')); SELECT record_id, event_id, provider, time_created FROM evtx.main.evtx_records(getvariable('evtx_sample')) ORDER BY record_id;","requiresCredentials":null,"note":null,"objects":[{"name":"evtx.main.evtx_records","kind":"table_function","links":{"html":"https://query.farm/products/orchard/connectors/evtx/#obj-main-evtx_records","markdown":"https://query.farm/products/orchard/connectors/evtx/objects/table_function.bWFpbg.ZXZ0eF9yZWNvcmRz.md","json":"https://query.farm/products/orchard/api/v1/connectors/evtx/objects/table_function.bWFpbg.ZXZ0eF9yZWNvcmRz.json"}}],"evidence":{"status":"captured_result","capturedAt":"2026-12-01T06:12:39+00:00","engineVersion":"2.0.1","protocolVersion":"3.4.0","releaseTag":"v0.5.0","sample":{"columns":["record_id","event_id","provider","time_created"],"types":["BIGINT","INTEGER","VARCHAR","TIMESTAMP"],"rows":[[1,5152,"Microsoft-Windows-Security-Auditing","2016-06-29T15:24:34.346000"],[2,4611,"Microsoft-Windows-Security-Auditing","2016-06-29T15:24:36.686000"],[3,4776,"Microsoft-Windows-Security-Auditing","2016-06-29T15:24:36.686000"],[4,4625,"Microsoft-Windows-Security-Auditing","2016-06-29T15:24:36.717200"],[5,5152,"Microsoft-Windows-Security-Auditing","2016-06-29T15:24:57.090800"]],"more":true}},"artifact":null},"objects":{"total":4,"index":"https://query.farm/products/orchard/api/v1/connectors/evtx/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=evtx&q={query}"},"agentTasks":["Is the byte string 'this is not an event log' a valid, parseable Windows Event Log (.evtx)? Answer with the boolean the worker returns.","Using the evtx worker, check whether the file at the path 'test/sql/data/sample-security.evtx' is a valid, parseable Windows Event Log. Pass the path string to the validation function.","Using the evtx worker, count how many event records are in the Windows Event Log file at the path 'test/sql/data/sample-security.evtx'. Pass the path string to the record-count function.","Parse the event log at the path 'test/sql/data/sample-security.evtx' with the evtx worker and list each distinct event id together with how many records have that id.","Parse the event log at the path 'test/sql/data/sample-security.evtx' with the evtx worker and list the distinct event provider names that appear in it.","Using the evtx worker's built-in Windows Event ID reference data, what is the short name for event id 4688?","How many event records in the log at the path 'test/sql/data/sample-security.evtx' have an event id that the evtx worker's Windows Event ID reference does NOT catalogue? Return a single number.","Parse the log at the path 'test/sql/data/sample-security.evtx' with the evtx worker and use its Windows Event ID reference to name the events. Return two columns: the reference's short event name, and how many records in the log have that event — one row per name, only for events the reference catalogues."],"provenance":{"generatedAt":"2026-12-01T18:22:16+00:00","repository":"https://github.com/Query-farm/vgi-evtx","harvest":{"status":"ok","method":"github-auto","error":null,"vgi_version":"9773130dde"},"catalogVerification":{"verified":true,"status":"passed","total":3,"passed":3,"failed":0,"needs_credentials":0,"location":"github-auto://Query-farm/vgi-evtx@v0.5.0","transport":"github-auto","environment":{"vgi_extension_version":"9773130dde","haybarn_version":"2.0.1rc3","engine_version":"v2.0.1","python":"3.12.4","platform":"darwin_arm64","protocol_version":"3.4.0"},"checked_at":"2026-12-01T06:12:27+00:00"},"interpretation":"Catalog verification records the harvest environment. It is not proof that every query or current live API call succeeds. Only an example with captured_result has a saved result for that exact SQL."},"interpretation":["Missing, null, or undeclared metadata means unknown; do not invent defaults, credential scope, platform support or endpoint URLs.","Search is keyword retrieval, not proof of a capability. Read the exact object declaration before generating SQL.","A table and a table function can have the same name. Preserve parentheses and use the matching overload and schema.","Service credentials, external data availability and deployment authentication are separate requirements."]}