How to create a custom log when a user 'logs in' or 'logs out' of the Gateway session.
book
Article ID: CTX580412
calendar_today
Updated On:
Description
Demonstrate on Citrix Gateway How to create a custom log when a user 'logs in' or 'logs out' of the Gateway to a Storefront session.
Instructions
We need to use a responder Policy with a NOOP action, this means it won't affect the traffic, it will just apply the LogAction on the Vserver through the responder policy.
For the 'Log in' logging configuration:
Create a LogAction to log the user interaction, with your custom text for 'Logging in', for example, with the following command:
add audit messageaction LogOutLog INFORMATIONAL "\"Client with IP \" +CLIENT.IP.SRC +\"Logged in\""
Create a responder policy to log the user interaction, this will match the HTTP GET 'resource list' that a client send when it has been authenticated, bind the 'LogAction' here:
Create a LogAction to log the user interaction, with your custom text for 'Logging out', for example, with the following command:
add audit messageaction LogOutLog INFORMATIONAL "\"Client with IP \" +CLIENT.IP.SRC +\"Logged out\""
Create a responder policy to log the user interaction, this will match the HTTP GET Authentication/Logoff that a client send when it logs out, bind the 'LogAction' here, with the following command: