vrn_159121
Feb 11, 2019Altostratus
log the http cookie name value and path using irule
hi how to log the cookie name ,value and path using irule
used below irule but only cookie name and value getting logged but not path
when HTTP_REQUEST {
set cookies [HTTP::cookie names]
foreach cookie $cookies {
set cookie_value [HTTP::cookie $cookie]
set cookie_path [HTTP::cookie path $cookie]
log local0. "Cookie names in received request: $cookie_value and $cookie_path"
}
}