cancel
Showing results for 
Search instead for 
Did you mean: 

Log checking on F5 CLI

sathish_2826
Nimbostratus
Nimbostratus

I just wanted to ask, if there is a way to check traffic on F5 for the specific URI, suppose, if a URL has multiple URI redirects enabled on F5 via an Irule and I wanted to check the traffic for a specific URI on the command line,

 

abc.xxx.com --> is configured on an LTM with a VIP of 2.2.2.2, within the vip, i have the following rule,

 

If URI matches "abc.xxx.com/test" --> go to "xyz.xxx.com/test"

 

If URI matches "abc.xxx.com/pass" --> go to "xyz.xxx.com/pass"

 

I would like to verify all traffic that comes for "abc.xxx.com/test" using the F5 CLI, please assist.

1 REPLY 1

Samir
Nacreous
Nacreous

This is possible via iRule to send all the traffic log to F5 log folder/file but only disadvantage is will fill log file quickly if application is highly used. This can be checked via F5 CLI.

 

Add below statement in iRule.

log local0. "requested host path is : [HTTP::host][HTTP::uri]"

# cat ltm | grep 'abc.xxx.com'

 

Thanks