Forum Discussion
Brian_69413
Apr 30, 2012Nimbostratus
So here is my compromise:
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog_pool]
}
when CLIENT_DATA {
if { [IP::client_addr] equals "10.10.10.10" }{
set dname [RESOLV::lookup @10.10.10.100 -ptr [IP::client_addr]]
scan $dname {%[^.]} shortname
HSL::send $hsl "<190> $shortname - [UDP::payload]"
}
}
We are filtering for the shortname in the syslog configuration