Forum Discussion
Dan_Markhasin_1
Jan 28, 2016Nimbostratus
Because we need the logs to be in a very specific format and include information that ASM does not provide (various identifying strings that we add to the log entry). So the log entry is built during the flow of the iRule and eventually shipped to the log server.
I ended up doing it with a foreach loop over ASM::violation details.
foreach {viol} [ASM::violation details] {
if {[lindex $viol 0] eq "viol_name"} {
set name [lindex $viol 1]
append violations "$name "
}
...