Forum Discussion
APM Variable Assign Questions
I have two questions about variable assign with Access Policy. If I create a custom variable like this: passwd = expr {[mcget -secure {session.logon.last.password}]}
How can I log the value of that variable? How can I use that variable in an iRule that is called with a iRule Event?
3 Replies
- Matt_Dierick
Employee
You can see the value with Level 7 log on Access Policy or from the GUI.
To use it with irule Event : https://devcentral.f5.com/questions/cant-get-apm-secure-session-variable-value-in-irule
- soymanue
Nimbostratus
Hello Thanks for your answer. I've been able to use it with my iRule successfully. Level 7 is debugging?
- Matt_Dierick
Employee
Yes sir, and you can see all variables in SSH with tail -f /var/log/apm during the connection.
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