Docs

One HTTP request. Nothing to install.

loghq ingests structured logs over plain JSON. If your language can make an HTTP request, it can ship logs — no SDK, no build step, no lock-in. Start here, then dive into the topic you need.

Quickstart

Three steps take you from an empty project to a live stream in your dashboard.

01

Copy your ingest key

Every project has one, in project settings. It is public by design — safe to ship in a client bundle — revocable, rotatable, and grants no read access.

02

POST your first entry

Send JSON to /logs with the key in the X-LogHQ-Key header. One entry or a batch of up to 500.

03

Search, filter, correlate

Entries land verbatim. Filter by level, channel, or environment, or pull every line sharing a trace id to see what happened around one event.

send your first log
# any language, any runtime — this is the whole integration
curl -X POST https://loghq.org/logs \
  -H 'Content-Type: application/json' \
  -H 'X-LogHQ-Key: loghq_your_project_key' \
  -d '{
    "logs": [{
      "message": "payment gateway timeout",
      "level": "error",
      "channel": "billing",
      "environment": "production",
      "release": "checkout@2.14.0",
      "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
      "context": { "provider": "stripe", "attempt": 3 }
    }]
  }'

# => 201 { "ok": true, "stored": 1, "dropped": 0, "skipped": 0 }

Read up by topic

Ready to ship your first log?