Hacker News new | ask | show | jobs
by patoroco 1590 days ago
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.

1 comments

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.)