CodeForPhilly / paws-data-pipeline

PAWS Data Pipeline Project
MIT License
16 stars 9 forks source link

564 nginx logging #592

Closed osabahat closed 6 months ago

osabahat commented 7 months ago

Configures nginx to use JSON logs, example:

{
  "timestamp": "1701829064.328",
  "address": "192.168.80.1",
  "method": "GET",
  "request": "GET /api/user/tes HTTP/1.1",
  "body_bytes_sent": 232,
  "response_status": 404,
  "http_user_agent": "curl/7.58.0"
}

Depends on #532 being merged. Resolves #564

c-simpson commented 6 months ago

Looks good!