system.log parsing
[email protected] Fri, 07 Oct 2016 13:32:56 +0000
| Newsgroups | gmane.mail.spam.dspam.user |
|---|---|
| Message-ID | <[email protected]> |
--===============1021067376807937652== Content-Type: multipart/alternative; boundary="--=_RainLoop_191_510144342.1475847176" ----=_RainLoop_191_510144342.1475847176 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi list, =0A=0AI want to parse the dspam system.log to add to a database.= The "space" separated format makes it difficult to parse. Does anyone ha= s some kind of grep / awk / regex to parse the system.log fields?=0A=0ATh= anks! ----=_RainLoop_191_510144342.1475847176 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"t= ext/html; charset=3Dutf-8" /></head><body><div data-html-editor-font-wrap= per=3D"true" style=3D"font-family: arial, sans-serif; font-size: 13px;">H= i list,=C2=A0<br><br>I want to parse the dspam system.log to add to a dat= abase. The "space" separated format makes it difficult to parse. Does any= one has some kind of grep / awk / regex to parse the system.log fields?<b= r><br>Thanks!</div></body></html> ----=_RainLoop_191_510144342.1475847176-- --===============1021067376807937652== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot --===============1021067376807937652== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user --===============1021067376807937652==--