Codewerk
log anomaly
Normalizes the lines (same parser as log-normalize), buckets them into time windows and flags windows whose error share exceeds the median plus three median absolute deviations (at least five errors). Messages are reduced to templates by replacing numbers, IPs, UUIDs, hex IDs, e-mail addresses and quoted strings; templates that do not occur in the optional baseline (or, without baseline, only in the last fifth of the time range) are reported as new patterns with counts and an example line..
POST https://code.halowerk.com/v1/log-anomalyInputs
| Field | Type | Required | Description |
|---|---|---|---|
| lines | string | Yes | Log text, one entry per line (mixed formats allowed). |
| format | string | No | |
| year | integer | No | Year for RFC 3164 timestamps, which carry none (default: current UTC year). |
| mask_ip | boolean | No | |
| baseline | string | No | |
| window_minutes | integer | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"lines"
],
"properties": {
"lines": {
"type": "string",
"minLength": 1,
"maxLength": 5000000,
"description": "Log text, one entry per line (mixed formats allowed)."
},
"format": {
"type": "string",
"enum": [
"auto",
"clf",
"json",
"caddy_json",
"syslog3164",
"syslog5424",
"logfmt"
],
"default": "auto"
},
"year": {
"type": "integer",
"minimum": 1990,
"maximum": 2100,
"description": "Year for RFC 3164 timestamps, which carry none (default: current UTC year)."
},
"mask_ip": {
"type": "boolean",
"default": true
},
"baseline": {
"type": "string",
"maxLength": 5000000
},
"window_minutes": {
"type": "integer",
"minimum": 1,
"maximum": 1440,
"default": 5
}
}
}Published input example
{
"lines": "…current log lines…",
"baseline": "…log lines from a normal period…",
"window_minutes": 5
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea