Parsers
| Parser | Reads |
|---|---|
traccar | GPS trackers on Traccar: connections and «Unknown device» lines with IMEI and IP |
dc09 | SIA DC-09 alarm receivers: account, token, sequence |
sshd | OpenSSH: accepted/failed password or key (with key fingerprint), invalid users |
fail2ban | fail2ban's own log: Found / Ban / Unban per jail |
stalwart | Stalwart mail server: IMAP, SMTP and HTTP authentication results |
coturn | coturn TURN server (also behind LiveKit): allocations and 401s per user |
json | one JSON object per line, already in the event shape (or close: snake_case accepted) |
A line that is not a connection or authentication result is skipped, and counted in skipped.
Raw lines: /v1/gate/logs
POST https://api.pryntid.com/v1/gate/logs
Authorization: Bearer gk_live_YOUR_SENSOR_TOKEN
Content-Type: application/json
{"sensor": "mail-01", "parser": "stalwart", "host": "mail",
"lines": ["<one raw log line>", "<another raw log line>"]}Up to 1,000 lines per request. The answer is the same as /v1/gate/events, plus parsed and skipped. parser, sensor and host can also go in the query string, with NDJSON as the body: one object per line with a line, log or message field — what Vector and Fluent Bit send.
Vector
# vector.toml — raw lines to /v1/gate/logs, parsed server-side (one sink per parser)
[sources.traccar]
type = "file"
include = ["/opt/traccar/logs/tracker-server.log"]
[transforms.traccar_lines]
type = "remap"
inputs = ["traccar"]
source = '. = {"line": .message}'
[sinks.gate_traccar]
type = "http"
inputs = ["traccar_lines"]
uri = "https://api.pryntid.com/v1/gate/logs?parser=traccar"
method = "post"
auth.strategy = "bearer"
auth.token = "${PRYNT_GATE_TOKEN}"
encoding.codec = "json"
framing.method = "newline_delimited"
request.headers.Content-Type = "application/x-ndjson"
batch.max_events = 1000
batch.timeout_secs = 2 Fluent Bit
# fluent-bit.conf — raw lines to /v1/gate/logs, parsed server-side (one [OUTPUT] per parser)
[INPUT]
Name systemd
Tag gate.sshd
Systemd_Filter _SYSTEMD_UNIT=ssh.service
[OUTPUT]
Name http
Match gate.sshd
Host api.pryntid.com
Port 443
URI /v1/gate/logs?parser=sshd
Format json_lines
Header Authorization Bearer ${PRYNT_GATE_TOKEN}
tls OnKeep the token in an environment variable or your secret store, never in a file under version control.
Your own events
If your server already logs connections (a receiver, a gateway, a central connection log), send them directly to /v1/gate/events in the event shape.
Updated 2026-11-15 · API reference