Configuring Centralized Solaris Server to Receive Syslogs


 
Thread Tools Search this Thread
Operating Systems Solaris Configuring Centralized Solaris Server to Receive Syslogs
# 1  
Old 03-21-2014
Configuring Centralized Solaris Server to Receive Syslogs

Hello,
I am new to Solaris. However, I was able to configure the Syslog server on Solaris. I am using a windows client to send logs to my Solaris syslog server. this is working fine. however, I have 23 servers which are sending their logs to the syslog server and it is very difficult to read all these logs. Is there a script which will allow me to configure server 1 to write all logs to its own text files, server 2 to its own textfile, and so on.
Thanks
# 2  
Old 03-21-2014
Solaris by default writes own textfiles, if there is a loghost entry in /etc/hosts,
for example
Code:
1.2.3.4    myhostname.my.domain  myhostname  loghost

and files (/etc/hosts and /etc/inet/ipnodes) are consulted before the other naming services in /etc/nsswitch.conf,
for example
Code:
hosts:    files dns nis nisplus ldap
ipnodes:  files

The check is
Code:
getent hosts loghost

that should report the own hostname.
(After a change the syslogd should be restarted.)
# 3  
Old 03-21-2014
Check out syslog-ng for Solaris (syslog-ng - Multiplatform Syslog Server and Logging Daemon), I use this on all my Solaris and windows systems. The filtering rules will allow you to separate out the log files based on the server they came from.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Facing problem in configuring syslog server in Solaris

I am trying to configure central syslog server On hostA, in /etc/syslog.conf file,I am adding below line*.err;kern.debug;daemon.notice;mail.crit @hostB then I am restarting syslog servicesvcadm restart /system/system-log In hostA, I have already added hostB entry in /etc/hosts... (5 Replies)
Discussion started by: amity
5 Replies

2. Shell Programming and Scripting

Notification from another server need to receive.

I have two application server appserver1 and appserver 2. A script will run from appserver1 which main activity is 1. Connect with the apserver 2 and run a script which saved on appserver2 2. the saved script will in appserver 2 will complete its task and generate a log Problem i need to... (0 Replies)
Discussion started by: Imtiaz43
0 Replies

3. UNIX for Advanced & Expert Users

Need help on setting up Centralized Server

Hello All, I am working on SuSe Linux Platform. Some times ago i got an issue with an application for which i had to update that in all desktops (SLED == SuSe Linux Desktop). Since this time number of desktops were less then it was possible to go and update package manually. But in... (1 Reply)
Discussion started by: shirsha
1 Replies

4. Shell Programming and Scripting

need help on configuring LDAP server on solaris

HI All I need help to understand how the ldap works in Solaris 9 & Solaris 10. Kindly provide me some helpful commands related to LDAP Regards Jagan (2 Replies)
Discussion started by: jaganblore
2 Replies

5. UNIX for Dummies Questions & Answers

how to configure centralized log server

hi, i am beginner i am using small lan setup all machine fc 6 and fc7 8 and fedora 9 also i want to know how to configure centralized log server on fedora 9 step by step any one help me Thanks (0 Replies)
Discussion started by: poswer
0 Replies

6. IP Networking

Configuring POSTFIX to receive emails only from localhost

Hello, I am new to POSTFIX. My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this? (1 Reply)
Discussion started by: mojoman
1 Replies

7. Solaris

How to implement Centralized logging server

Hi, I have Sun One Application server installed on 2 Solaris servers. Currently I am getting their logs in relative server. I am using log4j for logging. Now I want to change this. I want such that I should get both S1AS's log on third server with log4j. How can I do that ? I got one idea... (0 Replies)
Discussion started by: neel.gurjar
0 Replies

8. UNIX for Advanced & Expert Users

Centralized syslog server

I have a syslog server running Solaris 5.9 that is used exclusively to receive log messages from several thousand Cisco devices. The syslog server is and has been running fine for several months.. I would like to take all messages logged from the Cisco devices on this server and forward them... (2 Replies)
Discussion started by: getwithrob
2 Replies
Login or Register to Ask a Question