perl -MPOSIX -F, -lane 'print join ("," ,$F[0],strftime( "%F %T", loca +ltime $F[1]),@F[2..$#F],$ARGV),"\n"' Your-Log-file.log
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re: Convert Epoch times in Logfile
by NetWallah
in thread Convert Epoch times in Logfile
by stevbutt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |