Solved

syslog settings

Posted on 2008-10-20
6
922 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
Comment Utility
0
 

Assisted Solution

by:Cook77
Cook77 earned 166 total points
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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 …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now