Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Linux Log Server

Posted on 2003-11-25
3
Medium Priority
?
314 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 1000 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

730 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