cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
146
Views
5
Helpful
1
Replies
Highlighted
Beginner

Log entry : sendergroup / segment

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Re: Log entry : sendergroup / segment

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")

 

 

1 REPLY 1
Beginner

Re: Log entry : sendergroup / segment

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")