10-10-2019 07:55 AM
Hello
Is there a way to log the following entry ( by using custom logging ) via CF or MF :
ICID 46641891 ACCEPT SG ApplicationServers match 10.160.0.0/16 SBRS not enabled country not enabled
I need for auditing the x.x.x.x/xx in the loggings by writing it via custom log entry
Let me explain a bit further. We need all the senders which are using a specific listener ( on port 2525 ) . I already have a custom log entry showing us sender, subject, to and listener
example :
Custom Log Entry: listenerXXX : Message Received from : ip.ip.ip.ip : envfrom@domain.be : SUBJECTBLABLA : sendto@domain.aa
Logging shows us the source ip, but I need to have also the segment … ( I have a HAT configured with a wide range of segments in it )
Segment is shown in normal logging ;
ex
ICID 46641891 ACCEPT SG ApplicationServers match 10.160.0.0/16 SBRS not enabled country not enabled
How do I log the 10.160.0.0/16 entry via custom logging ? If it's possible
Solved! Go to Solution.
10-11-2019 04:26 AM
found a way :-)
example
if(Recv-listener=="blablabla") {
if (Remote-IP=="10.x.x.x/16") { log-entry(" | USERBASED | 10.x.x.x/16 | $RemoteIP | $envelopefrom | $Subject | $To")
10-11-2019 04:26 AM
found a way :-)
example
if(Recv-listener=="blablabla") {
if (Remote-IP=="10.x.x.x/16") { log-entry(" | USERBASED | 10.x.x.x/16 | $RemoteIP | $envelopefrom | $Subject | $To")
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: