The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: AWK script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 08-30-2007
razoreqx razoreqx is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 3
Quote:
Originally Posted by vgersh99 View Post
don't assume we all know the structure of your log file....
what is the source and what is the destination addresses in the given sample?
given a posted sample log, what is the desired output?
Sorry good point.

After the "list 199 denied" the first IP address is the source and the 2nd IP address is the destination.

the output im looking for is a file created for each unique "source" and an append to that file of each destination that matches each unique source.