Solved

SYSLOG

Posted on 2003-11-27
6
784 Views
Last Modified: 2008-02-01
Hi sunnycoder,

Here is what i have managed to do till now.
1. I have made the client machines to forward thier logs to a single SYSLOG server by editing thier syslog.conf. I have also configured the MAXTNT to forward its  logs to to the syslog server.
2. It is confirmed that  enrty   "  syslog                      514/udp   "       exists in /etc/services.
3. I have changed the /etc/sysconfig/syslog            SYSLOGD_OPTIONS = " -m 0 -r " .
4. Restarted the syslog and verified that -r  option is activated.

Now I need to know what should  I do to separate local machine's logs and network machines logs. What if I want to store MAXTNT's / Cisco Router / Cisco Switch logs in a separate directory. I know that I should be  editing the file syslog.conf, but what should I put there ?
 
Thanks....
ATIQAHMED.
0
Comment
Question by:atiqahmed
[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
  • 2
  • 2
6 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 25 total points
ID: 9832665
The standard syslog daemon on most Linux distributions isn't capable of logging to different files based on the system source of the messages. I believe that syslog-ng (see http://www.balabit.com/products/syslog_ng/)  can do this.
0
 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 25 total points
ID: 9833431
The syslog-ng 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 you can use different log files for different machines.

jlevie is right that the standard Linux syslogd does not support this.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10179707
Split between jlevie & khkremer
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10306551
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between jlevie and khkremer
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

739 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