Delimited Log Files

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am wanting to pull my linux log files, (especially /var/log/secure),
into a database on a windows machine and write some code to pull out
the entries where access has been denied.  I am figuring that I can,
through VB, have the database pull out the entries that are denied and
automatically send and email to with the pertinent
information rather than doing it by hand.  My problem is that I don't
know how to pull the log files into the database and have it formatted
consistently with it just being plain text.  I need them delimited in
some form or fashion.  Is there a way to have linux delimit the log
files?  Thanks for you help on this matter.

Re: Delimited Log Files wrote:
Quoted text here. Click to load it

'/var/log/secure' is not only already in plain text, it's also already
delimited with whitespace.  What else could you want?


Site Timeline