News for hackers. Stuff that matters.
Re:Ask HN: How to log full HTTP requests by patoroco on Saturday February 05, 2022 @01:28PM (#30224077)
If you’re behind a reverse proxy, like NGINX, you could log the traffic and customize the log lines to be more verbose.

After you could index these log files into a search engine, like Elastic Search and perform queries / dashboards through Kibana.

This is the typical stack, so I’m not sure if you’re looking something more sophisticated.

Re:Ask HN: How to log full HTTP requests by eloff on Saturday February 05, 2022 @02:49PM (#30225099)
Could you log the headers and body though? I looked into it a little and it looks tricky (requires buffering incoming request body to individual files, which are then your logs of the request body which have to be correlated somehow with the log files.)