Quote:
Originally Posted by muthukumar
Can you give sample log file lines ?? And give input how to get the information from that log file?
HTH.
the logfiles are located in /export/home/$ENV/audit/audit4567
audit4567 can be opened with vi, cat or more has lines like:
2005-03-23 16:00:55 SYNIFSSS006003I1 49219 Provisioning Transaction Created by dc6728(USER ID)
2005-03-23 16:00:56 SYNIFSSS006070I1 49219 Provisioning Transaction Description: Provisioning by cd6728: Create, classname=SI
VXVPNAccessPath, name=Site
2005-03-23 16:00:56 SYNIFSSS006006I1 49219 Provisioning Transaction Opened by cd6728
2005-03-23 16:00:56 SYNIFSSS126003I1 49219 Provisioning Transaction 49219 processing with pid 3538 in /netprov/env7/server/lo
g/output/2005-03-22.13:02:42/SYCCSServer_3538.0
2005-03-23 16:01:00 SYNIFSSS006011I1 49219 VPN Access Path: VPN Access Path Created by cd6728
2005-03-23 16:01:01 SYNIFSSS006011I1 49219 Endpoint: Endpoint Created by cd6728
2005-03-23 16:01:01 SYNIFSSS006011I1 49219 IP over ATM Interface: / SBCIS / GSR10 / ATM7/3.10 Created by cd6728
2005-03-23 16:01:02 SYNIFSSS006011I1 49219 ATM: ATM Created by cd6728
I need to take userinput date to match this date and userid to match the userid here and check for the key words like create,modify,update or delete and send an e-mail
Thanks,
Gundu