{"slug":"logfilter-hectichustle-workers-dev-filter-306f67","title":"Filter a JSON/NDJSON event log by field/operator/time range; returns matching ev","host":"logfilter.hectichustle.workers.dev","method":"POST","resource":"https://logfilter.hectichustle.workers.dev/filter","category":"other","description":"Filter a JSON/NDJSON event log by field/operator/time range; returns matching events. Use when an agent needs to pull matching rows (thresholds, equality, substring, threshold crossings, time windows) out of a log or metrics event list. Body: {events:[...]|\"<ndjson>\", filter:{field,op,value?,directi","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":468,"reported_calls_30d":3,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"events":[{"cpu":40,"timestamp":"2026-01-01T00:00:00Z"},{"cpu":95,"timestamp":"2026-01-01T00:01:00Z"}],"filter":{"field":"cpu","op":"gt","value":90}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"events":{"description":"Array of event objects, or an NDJSON string (one JSON object per line)","type":["array","string"]},"filter":{"properties":{"direction":{"description":"crosses_threshold only (default both)","enum":["up","down","both"],"type":"string"},"field":{"description":"Dot path into each event, e.g. metrics.cpu","type":"string"},"from":{"description":"Inclusive lower time bound; ISO-8601, epoch s or ms","type":["string","number"]},"limit":{"description":"Max events returned","minimum":0,"type":"integer"},"op":{"enum":["gt","gte","lt","lte","eq","ne","contains","crosses_threshold"],"type":"string"},"timeField":{"description":"Event time field (default timestamp)","type":"string"},"to":{"description":"Exclusive upper time bound","type":["string","number"]},"value":{"description":"Comparison value; numeric threshold for crosses_threshold"}},"required":["field","op"],"type":"object"}},"required":["events","filter"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"counts":{"properties":{"inTimeRange":{"type":"integer"},"input":{"type":"integer"},"matched":{"type":"integer"},"returned":{"type":"integer"},"truncated":{"type":"boolean"}},"type":"object"},"events":{"description":"Matching events, original order","items":{"type":"object"},"type":"array"}},"required":["events","counts"],"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.005,"price_match":true,"latency_ms":539,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":537,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":454,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":468,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":465,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":460,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":867,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":389,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":464,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":460,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":499,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":455,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":385,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":639,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":462,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":499,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":358,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":572,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":363,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":349,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":354,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":349,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":389,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":853,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":353,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":325,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":395,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":354,"error":null}],"description_full":"Filter a JSON/NDJSON event log by field/operator/time range; returns matching events. Use when an agent needs to pull matching rows (thresholds, equality, substring, threshold crossings, time windows) out of a log or metrics event list. Body: {events:[...]|\"<ndjson>\", filter:{field,op,value?,direction?,timeField?,from?,to?,limit?}}. Ops: gt,gte,lt,lte,eq,ne,contains,crosses_threshold. Free demo at POST /demo; docs at /openapi.json.","last_updated":"2026-11-16T09:35:41.334Z","schemes":["exact"]}