![]() |
|
|
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 |
| Cron Script report new files in directory | michaelb1984 | Shell Programming and Scripting | 3 | 06-01-2008 04:56 PM |
| system status report script | moco | Shell Programming and Scripting | 0 | 04-09-2007 05:35 AM |
| need help on unix script to run report | isingh786 | Shell Programming and Scripting | 2 | 06-29-2006 04:28 PM |
| Unix sheel script to run report | isingh786 | HP-UX | 0 | 06-28-2006 01:28 PM |
| backup report script | new2prog | Shell Programming and Scripting | 2 | 01-12-2006 02:50 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
log report script
Hello everyone,
By any chance, anyone has a script (shell) that I can modify for the following: I have daily log files and they look like: Accept aabbcc [02/Jun/2008:10:34:36 -0600] "111.11.111.111 uid=MyID, ou=People, o=helloworld.com" "webagent" [] [] Reject aabbcc [02/Jun/2008:10:34:36 -0600] "111.11.111.111 uid=MyID, ou=People, o=helloworld.com" "webagent" [] [] Validate ddeeff [02/Jun/2008:10:34:36 -0600] "111.11.111.111 uid=MyID, ou=People, o=helloworld.com" "webagent" [] [] The need is to run a script against it with some inputs, such as: ./script.sh uid start_date end_date all_dates above may not contain the end_date; but eventually there should be sometimes. The output should be something like this: # Total Activities based on uid uid=aabbcc Accept: # Reject: # Validate: # uid=ddeeff Accept: # Reject: # Validate: # so on... If anyone can help, greatly appreciated. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|