![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to extract last week data from a log | praveenvi | Shell Programming and Scripting | 5 | 05-22-2008 12:32 PM |
| how to extract data from tape. | djahmed | UNIX for Dummies Questions & Answers | 1 | 05-22-2008 08:21 AM |
| Extract data correction??? | gkrishnag | UNIX for Dummies Questions & Answers | 6 | 09-27-2006 05:59 AM |
| Extract data from file | getdpg | Shell Programming and Scripting | 20 | 08-03-2006 04:54 AM |
| Extract data segment using awk?? | apalex | Shell Programming and Scripting | 1 | 07-27-2004 07:13 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Help: Log data extract
So I got this old webapp doing some strange format with its logging and I need to extract only specific parts.
Basically the format of the log goes: Date:<space>timestamp User:<space>userid AppID:<space>applicationid Duration:<space>time(ms) <line> <line> Date:<space>timestamp User:<space>userid AppID:<space>applicationid Duration:<space>time(ms) <line> <line> Date:<space>timestamp User:<space>userid AppID:<space>applicationid Duration: <space>time(ms) ..and so on. I'd like to get the User, AppID and Duration values on days worth of log file and put them on a comma delimeted file in format: User, AppID, Duration User, AppID, Duration I struggled with awk, but couldnt get it to work.. I appreciate any help, thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|