Chris_Miller
Sep 01, 2010Altostratus
What to collect for HTTP - 500 Errors?
I'd like to log HTTP 500 errors but am unsure of what info to log. I know I can log IP::server_addr but what can I do as far as the URI a user was trying to hit that caused the error?
when HTTP_RESPONSE {
if { [HTTP::status] contains "500"} {
log local0. "HTTP 500 from Server [IP::server_addr] for .... } }
Just curious about what info the server is sending when it sends a 500 so I know what's loggable.