LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2007, 09:54 AM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
syslog to postgres logging


We have 15+ servers and currently look to migrate the syslogs into an existing postres database. I have looked at apps such as msyslog which might do what I want, but then I run into line's like "If your libpq library isn't in your linker path, you must add the
corresponding directory on the shell variable LD_PATH." and scratch my head....

One of the guys here said, O you can just write a perl script to do it, only problem is, yep, I don't know perl!


I have to assume others are doing this, and there must be a way to easily say I want each log to write to a different table;
ex.
mail.* -> postgre db=serverlogs, table=mail
cron.* -> postgre db=serverlogs, table=cron

So, does anyone have ideas, suggestions or solutions, please feel free to help out .. These are all RedHat / CentOS box's in case it matters!

tnx
 
Old 08-30-2007, 04:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
plenty of examples available... try this http://www.vermeer.org/docs/1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog-ng and logging software gatsby Linux - Software 1 04-24-2007 11:15 AM
Centralized logging with syslog-ng jantman SUSE / openSUSE 2 03-30-2007 08:57 PM
Logging/syslog s0n|k Linux - Newbie 2 03-13-2006 07:36 PM
syslog running but not logging tantric Linux - Security 1 10-15-2003 07:24 AM
logging information into syslog prisam Linux - Security 1 08-05-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration