Forum Discussion
Yann_Desmarest_
Nacreous
Jun 19, 2016Hi,
Maybe you can just get the session id from the LastMRH_Session header ?
You can get this information by changing your irule to something similar :
when ACCESS_POLICY_COMPLETED {
set hsl [HSL::open -proto UDP -pool pool_172.16.0.21_syslog]
set mysession "session_id=[ACCESS::session data get session.user.sessionid]"
set timestamp [clock format [clock seconds] -format "%d/%h/%Y:%T %Z" -gmt 1 ]
log local0. "access policy completed get session id"
}
when ACCESS_ACL_ALLOWED {
set mysession "session_id=[HTTP::header "LastMRH_Session"]"
HSL::send $hsl "<190> $timestamp $mysession \n"
log local0. "access policy acl allowed"
}
- Demeter_LuoJun 20, 2016
Nimbostratus
Hi Yann Desmarest Thanks for your suggestions, but my policy is network access and have many tcp and udp application and not just http,How to get session-id in out scenario? thanks again。