Forum Discussion
Ayuda Irule DROP y log
Hi Mrlopez,
If you would like logs the traffic please follow IRULES below
when HTTP_REQUEST {
if {[HTTP::path] equals "/zzz/xxxx/zzz"}{
log local0. "Client IP: [IP::client_addr]-[HTTP::path]"
drop
return
}
}
##########
If posible please using external syslog server for store more logs
Step1: Create Pool for external syslog server
Step2: Create IRULS for send HSL Logs
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog_server_pool]
}
when HTTP_REQUEST {
if {[HTTP::path] equals "/zzz/xxxx/zzz"}{
HSL::send $hsl "<190> Client IP: [IP::client_addr]-[HTTP::path]\n"
drop
return
}
}
Hope this information will help you
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com