Solved

Linux Log Server

Posted on 2003-11-25
3
311 Views
Last Modified: 2010-03-18
I want to ser up a linux server ( RH 9 ) as one log server.  I have syslog
setup so it will take other servers logfiles...  All logfiels not on the log server ( other servers, printers firewall sending their log files )  dump their logs to /var/log/messages
file.

 I want to have a different  file for each server reporting to the one log server
I can't seem to fugure how this works and help ?

I don't want one big log file ( messages ) I would like each device to have it's own file

Thanks
0
Comment
Question by:clarksell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 250 total points
ID: 9822111
Some BSD syslogd do support the grouping of rules by hostname, which allows to log all messages from one host to one file. Unfortunately the syslog daemons usually packaged with Linux systems do not support this.

You can run syslog-ng (http://www.balabit.com/products/syslog_ng/), which also supports this. The sample configuration file at http://www.campin.net/syslog-ng.conf shows (near the end of the file) under the heading "automatic host sorting (usually used on a loghost)" how this is done.

I've never used this myself (always wanted to try it, but never found the time), but if you find interesting problems with it, I may be willing to play with it :-)
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question