Solved

syslog settings

Posted on 2008-10-20
6
924 Views
Last Modified: 2013-12-06
I have Red Hat Linux Enterprise 5 and trying to setup a syslog server, My applications are able to send the logs to the server but either the size limit or retension is only keeping two days of logs. Also does anyone know of a good program to go through the syslog files? hopefully something free

Thanks
0
Comment
Question by:tofitadmin
6 Comments
 
LVL 23

Accepted Solution

by:
Kamaraj Subramanian earned 168 total points
ID: 22758624
0
 

Assisted Solution

by:Cook77
Cook77 earned 166 total points
ID: 22758674
I don't understand well, but try syslog-ng and logrotate as well to store the logs and backup then. In the syslog-ng you can make filters and you can put separate log files for critical and only informal events! Look at this example:

destination df_BOROKA { file("/var/log/ssg5-BOROKA.log"); };
filter f_BOROKA {
    match("BOROKA-ssg5");
};
log {
        source(s_all);
        filter(f_BOROKA);
        destination(df_BOROKA);
};

If your syslog files contains 'BOROKA-ssg5' it will put ssg5-BOROKA.log file.
0
 
LVL 5

Assisted Solution

by:ifreq
ifreq earned 166 total points
ID: 22760131
On your server check /etc/logrotate.conf settings, you must increase the log time limit.  What kinda software you need for going through the logfiles? Usually you just "zcat logfile.tar.gz|grep value" or "grep value logfile" if its not archived.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 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