LinuxQuestions.org
Help answer threads with 0 replies.
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: 336

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,398

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Novell 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


All times are GMT -5. The time now is 09:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration