Before: in Settings › Filters, every color tag had to be written by hand, so highlighting an HTTP access log meant writing your own regular expressions.
After: a + Preset… menu next to "+ Add tag" adds a ready-made group of tags in one click: status codes (2xx green, 3xx blue, 4xx orange, 5xx red), methods (GET/HEAD/OPTIONS, POST/PUT/PATCH, DELETE), probes and attacks (wp-login.php, /.env, /.git, ../…), bots and scripts (Googlebot, curl, python-requests…), and TLS and proxy errors. Formats covered: nginx and Apache (common/combined), Traefik (CLF and JSON), Caddy (JSON), HAProxy (httplog). Tags already in the list are skipped; added tags can be edited or deleted like any other.
How: the presets live in web/app.js as regex tags valid in both JavaScript and Go (RE2). A regex group named hl ((?<hl>…)) colors only that part of the match, so only 503 is colored, not HTTP/1.1" 503. Tags get an optional label field (tags.go), shown in the preview instead of the long pattern. READMEs (EN/FR) updated.
Tested: patterns compiled with Go regexp and run in JavaScriptCore against sample nginx, Apache, Traefik JSON, Caddy JSON, HAProxy, nginx error and Go TLS lines (no false hits on /item/500, 200 in a user agent, or both); go vet and go test pass. The UI itself could not be run locally (port binding is blocked in this sandbox).
<!-- ccr-projects-attribution: {"github_login":"vblogio"} -->
_Requested by **Cédric**_
Before: in Settings › Filters, every color tag had to be written by hand, so highlighting an HTTP access log meant writing your own regular expressions.
After: a **+ Preset…** menu next to "+ Add tag" adds a ready-made group of tags in one click: status codes (2xx green, 3xx blue, 4xx orange, 5xx red), methods (GET/HEAD/OPTIONS, POST/PUT/PATCH, DELETE), probes and attacks (`wp-login.php`, `/.env`, `/.git`, `../`…), bots and scripts (`Googlebot`, `curl`, `python-requests`…), and TLS and proxy errors. Formats covered: nginx and Apache (common/combined), Traefik (CLF and JSON), Caddy (JSON), HAProxy (httplog). Tags already in the list are skipped; added tags can be edited or deleted like any other.
How: the presets live in `web/app.js` as regex tags valid in both JavaScript and Go (RE2). A regex group named `hl` (`(?<hl>…)`) colors only that part of the match, so only `503` is colored, not `HTTP/1.1" 503`. Tags get an optional `label` field (`tags.go`), shown in the preview instead of the long pattern. READMEs (EN/FR) updated.
Tested: patterns compiled with Go `regexp` and run in JavaScriptCore against sample nginx, Apache, Traefik JSON, Caddy JSON, HAProxy, nginx error and Go TLS lines (no false hits on `/item/500`, `200` in a user agent, or `both`); `go vet` and `go test` pass. The UI itself could not be run locally (port binding is blocked in this sandbox).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A '+ Preset…' menu in Settings > Filters adds groups of tags for status
codes, methods, probes, bots and TLS/proxy errors (nginx, Apache, Traefik,
Caddy, HAProxy). A regex group named hl colors only that part of a match,
and tags get an optional label shown in place of the pattern.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
claudeBot
marked the pull request as ready for review 2026-10-03 15:17:43 +02:00
claudeBot
merged commit 1a21656546 into main2026-10-03 15:17:58 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Requested by Cédric
Before: in Settings › Filters, every color tag had to be written by hand, so highlighting an HTTP access log meant writing your own regular expressions.
After: a + Preset… menu next to "+ Add tag" adds a ready-made group of tags in one click: status codes (2xx green, 3xx blue, 4xx orange, 5xx red), methods (GET/HEAD/OPTIONS, POST/PUT/PATCH, DELETE), probes and attacks (
wp-login.php,/.env,/.git,../…), bots and scripts (Googlebot,curl,python-requests…), and TLS and proxy errors. Formats covered: nginx and Apache (common/combined), Traefik (CLF and JSON), Caddy (JSON), HAProxy (httplog). Tags already in the list are skipped; added tags can be edited or deleted like any other.How: the presets live in
web/app.jsas regex tags valid in both JavaScript and Go (RE2). A regex group namedhl((?<hl>…)) colors only that part of the match, so only503is colored, notHTTP/1.1" 503. Tags get an optionallabelfield (tags.go), shown in the preview instead of the long pattern. READMEs (EN/FR) updated.Tested: patterns compiled with Go
regexpand run in JavaScriptCore against sample nginx, Apache, Traefik JSON, Caddy JSON, HAProxy, nginx error and Go TLS lines (no false hits on/item/500,200in a user agent, orboth);go vetandgo testpass. The UI itself could not be run locally (port binding is blocked in this sandbox).🤖 Generated with Claude Code