Skip to content

564 nginx logging #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 31, 2023
Merged

564 nginx logging #592

merged 3 commits into from
Dec 31, 2023

Conversation

osabahat
Copy link
Collaborator

@osabahat osabahat commented Dec 6, 2023

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

@osabahat osabahat requested a review from c-simpson December 6, 2023 02:34
@osabahat osabahat changed the base branch from 494-logging to master December 6, 2023 02:35
@osabahat osabahat changed the base branch from master to 494-logging December 6, 2023 02:36
@c-simpson
Copy link
Collaborator

Looks good!

@c-simpson c-simpson merged commit be26834 into 494-logging Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure client (NGINX) logging
2 participants