Skip to content
Fourohtwo

Filter a JSON/NDJSON event log by field/operator/time range

logfilter.hectichustle.workers.dev/filter

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

BaseAnswering
POSThttps://logfilter.hectichustle.workers.dev/filter

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://logfilter.hectichustle.workers.dev/filter", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"events":[{"cpu":40,"timestamp":"2026-01-01T00:00:00Z"},{"cpu":95,"timestamp":"2026-01-01T00:01:00Z"}],"filter":{"field":"cpu","op":"gt","value":90}}),
});
console.log(await res.json());

Example input

{
  "events": [
    {
      "cpu": 40,
      "timestamp": "2026-01-01T00:00:00Z"
    },
    {
      "cpu": 95,
      "timestamp": "2026-01-01T00:01:00Z"
    }
  ],
  "filter": {
    "field": "cpu",
    "op": "gt",
    "value": 90
  }
}