Hi
I have a log file with entries in the following format - (all in single line (no word wrap as below))
21:29:23 05/10/2008 from=192.168.0.1:162 oid=1.3.6.1.4.1.311.1.1.3.
1.2 trap=link up specific=0 traptime=0 days, 0:0:15.6 community=Public agent=192.168.0.1 version= v1 var1=65539
What Perl regular expression would be able to parse the time, date, from=, and trap= values?
Thank you!
Start Free Trial