{"slug":"code-halowerk-com-v1-log-normalize-5602f6","title":"Normalize mixed log lines (nginx/Apache combined or common, Caddy JSON, generic ","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/log-normalize","category":"code","description":"Normalize mixed log lines (nginx/Apache combined or common, Caddy JSON, generic JSON, logfmt, syslog RFC 3164 and RFC 5424) into one JSON schema. Parses each line with the matching grammar, also in mixed files, and returns records with ISO 8601 UTC timestamp, level (syslog severity, JSON level or de","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":894,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"lines":"203.0.113.7 - - [31/Oct/2026:23:59:01 +0100] \"GET /api/orders?token=abc HTTP/1.1\" 500 512 \"-\" \"curl/8.5.0\"\n<34>1 2026-10-31T23:00:00.003Z web1 app 4711 ID47 - Database connection lost","mask_ip":true},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"format":{"default":"auto","enum":["auto","clf","json","caddy_json","syslog3164","syslog5424","logfmt"],"type":"string"},"limit":{"default":1000,"maximum":5000,"minimum":1,"type":"integer"},"lines":{"maxLength":5000000,"minLength":1,"type":"string"},"mask_ip":{"default":true,"type":"boolean"},"year":{"maximum":2100,"minimum":1990,"type":"integer"}},"required":["lines"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":891,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":902,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":909,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":894,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":894,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":891,"error":null}],"description_full":"Normalize mixed log lines (nginx/Apache combined or common, Caddy JSON, generic JSON, logfmt, syslog RFC 3164 and RFC 5424) into one JSON schema. Parses each line with the matching grammar, also in mixed files, and returns records with ISO 8601 UTC timestamp, level (syslog severity, JSON level or derived from the HTTP status), host, client IP, method, path, protocol, status, bytes, duration in milliseconds, user agent, referrer, application, PID and message.","last_updated":"2026-11-20T13:07:13.934Z","schemes":["exact"]}