Forum Discussion
ssievers_87378
Mar 20, 2015Nimbostratus
when HTTP_REQUEST {
if {[HTTP::header "User-Agent"] contains "Firefox"} then {
set user_agent "Firefox" }
elseif {[HTTP::header "User-Agent"] contains "Chrome"} then {
set user_agent "Chrome" }
else {
set user_agent "IE"
}
log local0. "User Agent is: $user_agent"
}