Forum Discussion
Sriram_87174
Nimbostratus
Are you trying to log the 404 error in the response packet? try using when HTTP_RESPONSE function and see if you can log 404 error.
Sriram_87174
Sep 18, 2015Nimbostratus
You can try using HTTP::path instead of HTTP::uri
when HTTP_REQUEST {
if {[HTTP::path] != "/404"} {
log local0. "uri = [HTTP::uri]"
}
}