LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-18-2004, 07:17 AM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
Question configure syslog


Hi,

I am in the proccess of centerlizing all the logs of my 70 linux boxes to one syslog server.

I want to forward just security related issus to the central server. how I filter alerts to be send?

is there a posibility to so this?

Also iin syslog.conf I see this line:

# Everybody gets emergency messages
*.emerg @loghost

my question is how I know what is configured as *.emerg ? do I have an option to configure this?

thanks very much !
 
Old 11-18-2004, 08:32 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
syslog entries are in 3 parts
facility priority and where the log goes

auth.info logs auth at the prority info and higher
auth.=info logs just the priority info

you can send the data to a users terminal like such
kern.* joe
That logs any kernel messages to joes terminal
kern.* /var/log/kernlog sends to a file
kern.* @sunbox sends the log messages to a host box named sunbox

sending logs to another machine uses port 514 or 601 I forget which, but looking in the /etc/services file shud tell you.
That port must be open of course on the reciving end.

I suggest ya take a look and d/l webmin from webmin.com it is a nice gui web based tool for admin and allows easy configuration of the /etc/syslog.conf file

Any changes to the conf does require restarting of the syslogd daemon
 
Old 11-20-2004, 04:33 AM   #3
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
anorther question please

I want to log all the security related issuss suxh as authentication ( password entring errors , change of file permmisions and etc) to ve send to another syslog server. do u know who can I do it ?

I know webmin but I really dont want to use it beacuse I will need to open other ports on the production linux servers....


thanks.
 
Old 11-21-2004, 09:32 AM   #4
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
The easiest way would be to look at the logs you have now and determine which logs have the info in them that you want to centralize. Then point these facilities to the syslog server by replacing the logfile with @sys.log.ip
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog vs syslog-ng XaViaR Linux - General 9 06-17-2005 09:15 AM
syslog -r dvong3 Linux - General 5 12-27-2003 07:22 AM
what is the syslog for? yenonn Linux - General 5 08-15-2003 03:08 AM
Syslog??? pk21 Programming 3 07-05-2002 07:25 AM
Syslog ltrain Linux - General 3 06-27-2001 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration