Logs & JSON Tools API

Parse nginx access logs into structured JSON and compute JSON diffs for auditing, debugging, and change tracking.

Included endpoints


Example: Parse nginx access log

curl --request POST \
  --url https://hefftools.dev/api/v1/logs/parse \
  --header 'Content-Type: application/json' \
  --header 'X-RapidAPI-Key: <your-rapidapi-key>' \
  --data '{
    "log_type": "nginx_access",
    "line": "127.0.0.1 - - [30/Nov/2025:12:34:56 +0000] \"GET / HTTP/1.1\" 200 612 \"-\" \"curl/7.81.0\""
  }'

Response (snippet):

{
  "log_type": "nginx_access",
  "parsed": {
    "remote_addr": "127.0.0.1",
    "status": "200",
    "request": "GET / HTTP/1.1",
    "http_user_agent": "curl/7.81.0"
  },
  "raw": "127.0.0.1 - - [30/Nov/2025:12:34:56 +0000] \"GET / HTTP/1.1\" 200 612 \"-\" \"curl/7.81.0\""
}

Use cases