[syslog-ng] Syslog file to Mysql

Nick nagios.nick at gmail.com
Tue Apr 25 16:39:26 CEST 2006


I am currently using the php-syslog-ng but am in need to find a way to
take a local file and "inject" it into the local database.  If
php-syslog-ng can do this I have missed it and would be appreciative
if you could point that out to me.

THanks for the help

On 4/25/06, Dukes Clayton <Clayton.Dukes at hcahealthcare.com> wrote:
> Take a look at php-syslog-ng
>
>
> -----Original Message-----
> From: syslog-ng-bounces at lists.balabit.hu
> [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Nick Carstensen
> Sent: Monday, April 24, 2006 9:52 PM
> To: syslog-ng at lists.balabit.hu
> Subject: [syslog-ng] Syslog file to Mysql
>
> Hello All,
>
> Have a question I hope someone can help with.
>
> Currently I have Syslog-ng running logging to a mysql db along with
> keeping files.  This is working well.  I have a situation where I can
> not log to the box directly.  I need to "pull" the logs to the central
> log server and import them into the db.  As syslogd and syslog-ng do not
> log all the needed fields by default like facility:level and year, when
> they are writing them local I need a way to add that to the file.
>
> The second problems is how to import them to the db.  Is there any tool
> that will do this for me automatically?
>
> Thanks for the assistance.
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>


More information about the syslog-ng mailing list