Solved

Linux Log Server

Posted on 2003-11-25
3
312 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

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

630 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