Stream events continuously
The webhook above is the quickest start. For a feed that never stops, two more paths land at the same kind of ingest node, on the same ingest host, behind a key you generate once and that we store only as a hash.
From your own code, install the SDK. It works in Node and the browser, batches records, and retries for you:
npm install @event-horizon-data/probe
import { Probe } from '@event-horizon-data/probe';
const probe = new Probe({
endpoint: 'https://ingest.eventhorizondata.com/ingest/probe/<org>/<node>',
key: 'ehp_<key>',
});
probe.send({ user_id: '123', action: 'click', value: 42 });
await probe.flush();From log files or syslog, point the collection agent at a path and it ships each line, typed. Run it with npx, or download one self-contained binary that needs no Node installed:
npx @event-horizon-data/agent \ --endpoint https://ingest.eventhorizondata.com/ingest/probe/<org>/<node> \ --key ehp_<key> \ --tail /var/log/app.log
Both send an event the same way the webhook does, so the idempotency rules above still apply: a repeated identifier inside five minutes is discarded. The agent also survives a restart without losing a line or sending one twice. Both are open source, MIT, on npm.
Send your first event.
Create an account and get from raw data to a dashboard in minutes.