Forum Discussion
Roflcopter
Nimbostratus
May 28, 2016Generate Syslog message when users login
We have a requirement that when a users logs in remotely a syslog message is generated containing the following -
Username:
Device:
IP:
Country of origin:
Has anyone has any experience doin...
Yann_Desmarest
Cirrus
May 29, 2016Hi,
In the VPE, you can add a logging block (General Purpose) at the end of the policy with the following settings. This will be appended to the apm log :
Log Message : Username:%{session.logon.last.username} Device:%{session.client.platform} IP:%{session.user.clientip} Country of origin: %{session.user.ipgeolocation.country_code}
You also have those information by default in the apm log :
/Common/sp_ap:Common:e627e57f: Received User-Agent header: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.
/Common/sp_ap:Common:e627e57f: New session from client IP 192.168.20.1 (ST=/CC=/C=) at VIP 192.168.20.222 Listener /Common/vs_test (Reputation=Unknown)
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