![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Log 'syslog start/stop/restart' messages | SunnyK | UNIX for Advanced & Expert Users | 1 | 07-14-2008 11:16 AM |
| messages and syslog files not being created | jair | Security | 1 | 01-16-2008 08:25 PM |
| syslog messages every minute | hcclnoodles | SUN Solaris | 1 | 11-06-2006 10:20 AM |
| sort syslog messages | 3Gmobile | Shell Programming and Scripting | 1 | 08-10-2006 11:00 PM |
| Date in syslog messages | emilia | UNIX for Dummies Questions & Answers | 2 | 05-02-2003 05:16 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Help with separating syslog messages.
Hello Guys...
I am bit new to shell scripting and was looking for help !! I have got syslog data on a linux server recording log messages from a device. I need to seperate the data from log to file so that I can push it excell and get a report from that. Log is in the format below " Nov 16 04:02:05 syslogger syslog: klogd startup succeeded Nov 16 04:02:05 syslogger syslog: syslogd shutdown succeeded Nov 16 04:02:08 syslogger crond(pam_unix)[28955]: session closed for user root Nov 16 04:19:49 10.0.3.1 287352 11/16/2008 01:41:12.150 SEV=4 IKE/119 RPT=6730 123.208.8.179 Group [sportsbet] User [munsieg] PHASE 1 COMPLETED Nov 16 04:20:02 10.0.3.1 287364 11/16/2008 01:41:24.290 SEV=4 IKE/49 RPT=7502 12 3.208.8.179 Group [sportsbet] User [munsieg] Security negotiation complete for User (munsieg) Responder, Inbound SPI = 0x05347b8f, Outbound SPI = 0x9bd2c940" Is there a way to separate things in bold from the log and push it to a text or excell file ? Thanks a lot for the help..!! R |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|