Configuring syslog.conf | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Configuring syslog.conf

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-31-2013
manoj.solaris manoj.solaris is offline
Registered User
 
Join Date: May 2007
Last Activity: 26 May 2014, 6:21 AM EDT
Posts: 230
Thanks: 3
Thanked 1 Time in 1 Post
Configuring syslog.conf

Hi,

I would like to configure syslog linux client, syslog server is windows server.

so adding on linux client in /etc/syslog.conf @hostname will work in the place of directory location.

example of /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* @winodwshost

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none @winodwshost


# The authpriv file has restricted access.
authpriv.* @winodwshost


# Log all the mail messages in one place.
mail.* @winodwshost



# Log cron stuff
cron.* @winodwshost






but since syslog server is windows , so adding @hostname in linux /etc/syslog.conf will work? or addition configuration needs to done.

my requirement is linux log messages should be sent to windows syslog server.

please suggest.
Sponsored Links
    #2  
Old 01-31-2013
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
This will work, as long as the Windows syslog server windowshost is resolvable by DNS or /etc/hosts (or whatever naming services you're using) and the syslog server is listening on port 514/udp. Kiwi Syslog on Windows works fine for this, and I've used it many times previously.

BTW: Please use code tags to make your configuration/code/etc. more readable.
Sponsored Links
    #3  
Old 01-31-2013
manoj.solaris manoj.solaris is offline
Registered User
 
Join Date: May 2007
Last Activity: 26 May 2014, 6:21 AM EDT
Posts: 230
Thanks: 3
Thanked 1 Time in 1 Post
Many Many Thanks zazzybob.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
syslog.conf g0dlik3 Shell Programming and Scripting 1 11-27-2011 04:20 PM
syslog-ng.conf Tornado Solaris 5 11-18-2008 06:20 AM
Configuring snmpd.conf and snmptrapd.conf jagdish.machhi@ UNIX for Advanced & Expert Users 2 04-17-2008 03:01 PM
Configuring syslog.conf in a TRU64 UNIX machine adak2010 UNIX for Dummies Questions & Answers 0 04-11-2008 04:45 AM
syslog.conf soliberus Red Hat 1 08-11-2006 07:44 AM



All times are GMT -4. The time now is 05:22 PM.