View previous topic :: View next topic |
Author |
Message |
ryouga42 n00b
Joined: 21 Oct 2004 Posts: 19
|
Posted: Tue Oct 26, 2004 7:35 am Post subject: sysklogd dumps *all* syslog messages to /var/log/messages |
|
|
I'm using sysklogd after deciding that it was the easiest to set up for network logging. (If someone wants to suggest something like syslog-ng, I'm all ears, I'd just like help configuring such.
Basically, the entire network infrastructure is set up to syslog to this server. Quite a bit of traffic. I'd like to keep the behavior that sends all syslog messages to /var/log/syslog - I've trained my shop on how to use this through Webmin (so much better than Remote Desktop. Ugh) but I'd like to keep the messages from remote systems separate from the messages generated by the local system.
Is this possible to do with sysklogd, do I need to switch to syslog-ng or metalog or such, and how do I configure it/them to do this?
Thanks. |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Tue Oct 26, 2004 12:53 pm Post subject: |
|
|
I've read some manuals about syslog now but can't find anything about separating the logs according to hosts. May be I'm to dumb?
But syslog-ng can!! Just one example: http://www.campin.net/newlogcheck.html
google can give you much more! |
|
Back to top |
|
|
ryouga42 n00b
Joined: 21 Oct 2004 Posts: 19
|
Posted: Tue Oct 26, 2004 1:07 pm Post subject: |
|
|
Yeah, I broke down and installed syslog-ng after a bit of running in circles. I didn't really need it broken down by host but it's kind of an added perk.
Except now I can't view it with Webmin anymore - not natively anyway. I have it set up as a dirty hack to use the old syslog.conf and view /var/log/cisco/*.log - but there has to be a better way to do it.
I couldn't find a syslog-ng module for Webmin. Is there some other clean way to view logs over a web interface? |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
|
Back to top |
|
|
ryouga42 n00b
Joined: 21 Oct 2004 Posts: 19
|
Posted: Tue Oct 26, 2004 1:32 pm Post subject: |
|
|
After reading the first website you gave me, I was considering the merits of logging to an SQL server.
But I really like this. Thanks a lot! |
|
Back to top |
|
|
|