Forum Discussion
Irule for session Creation and Close
From your post, it sounds like you'd like to generate a report about incoming APM session:
- Login timestamp
- Logout timestamp
- Calculate login/logout to get a session duration
- Username
The APM logs contain sufficient information to generate such a report. The report log lines have the session ID number as a key, so you have to basically create a map of all session IDs and Check /var/log/apm for the correct lines with timestamp for session start, end, and username. Check the log file when you create a login and logout, they're straightforward. APM also has a report function to perform this task, but the amount of data stored is rather small because the disk on BIG-IP itself is used, and the size is limited. We recommend using syslog to send the logs to another device.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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