SHARE
Facebook X Pinterest WhatsApp

Building A Central Loghost On CentOS And RHEL 5 With rsyslog

Written By
thumbnail
Web Webster
Web Webster
Jan 19, 2011

[ Thanks to Falko
Timme
for this link. ]

“Gathering log messages is important. In a lot of
situations you’ll want to store all entries of logfiles on another
server. If a server crashes or gets hacked you want to be able to
browse through logfiles from this machine and you want to be sure
these log files are not altered in any way. This can be
accomplished using a central logserver that receives messages from
all other hosts. A syslog facility can receive messages from UNIX
and Linux hosts but also network devices and certainly Windows
hosts. Such a syslog host should make these logfiles available to
auditors and sysops using a read-only interface or they should not
be available to anyone until an incident occurs.

“Technically the difference is in how you store the
messages:
– in plain text on a filesystem
– in an sql database with a web-interface

“This howto describes rsyslog putting log messages in one file
per day per remote host. Rsyslog is the current standard in RHEL6
and available as a package in the current package streams in RHEL
5.5 (and CentOS 5.5). Setting up rsyslog is pretty simple. It all
comes down to a single config file but (there is always a but)
every setting needs some planning.”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

How to Install Immich on openSUSE
r00t
Sep 6, 2024
Beginners Guide for ID Command in Linux
Benny Lanco
Sep 5, 2024
[Fixed] An Unexpected Error Occurred on Gnome Extensions
Patrick
Sep 3, 2024
Run a Google Search From the Linux Command Line With Googler
TechRepublic
Aug 27, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.