cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1634
Views
5
Helpful
1
Replies

Log entry : sendergroup / segment

rolelael
Level 1
Level 1

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

rolelael
Level 1
Level 1

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

 

 

View solution in original post

1 Reply 1

rolelael
Level 1
Level 1

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

 

 

Getting Started

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: