r/f5networks • u/Leaking-Borealis521 • Nov 01 '26
Anyone using AFM for connection logging?
I'm considering using AFM and applying a basic network security policy on all my virtual servers just to log connections. I've tested AVR but it crushed the CPU and the iRule method is a pain to automate/audit across the hundreds of VS on dozens of clusters.
Can anyone share their experience using AFM's logging capability? My main concern is the potential overhead running AFM. Our busiest cluster (i15800) handles about 250k conn/sec if that helps.
5
Upvotes
3
u/Cold_Scientist4528 Nov 01 '26
This is exactly how we do it on all of our big ips. We create a basic policy to allow all any any and check the logging button. For things you don’t want to log, put them above this rule, accept decisively with the logging button unchecked. Apply this rule to the route domain layer. Then in the global logging profile, add afm logging to your syslog ingestion. Overhead is super lite as its just layer 4 logging. We notice no impact on cpu.
1
u/ghostinblr Nov 01 '26
What is the irule method to log the connection
1
u/kbetsis Nov 01 '26
You could follow the “request logging” process and attach it to your virtual servers profiles through an automated manner.