Forum Discussion
Mike_Rausch_628
Nimbostratus
Feb 09, 2009IRULE to track connections
I have created an IRULE to track connections to links we have posted for training videos.
A message is sent to a log file for every different video we have posted and then all of the co...
Mike_Rausch_628
Nimbostratus
Feb 09, 2009It looks like this...
when HTTP_REQUEST
set fdstr [fdstr [HTTP::uri] "/" 1]
if { $fdstr equals "videos/video1.html"}{
log local0. "User [IP::client_addr] has connected to video - video1"
}
if { $fdstr equals "videos/video2.html"}{
log local0. "User [IP::client_addr] has connected to video - video2"
}
if { $fdstr equals "videos/video3.html"}{
log local0. "User [IP::client_addr] has connected to video - video3"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects