Slides on how to analyze and store logs - Part of RHCSA (RH124) syllabus
Size: 501.8 KB
Language: en
Added: Oct 10, 2024
Slides: 13 pages
Slide Content
Analyze and Store log
Monitor Logs
●Continuous analysis of system
logs for security and
performance
●Directory where logs are
stored : /var/log
Why to maintain accurate time ?
●Synchronization with network services
●Security event correlation
●Accurate logging timestamps
●Coordination in distributed systems
Common Commands
To display the system date and time
●Command: date
UTC(Coordinated Universal Time) : Primary time standard by which the
world regulates clocks and time
timedatectl
●View and change the system time, date, and timezone
●Synchronize the system clock with a remote server using the Network Time
Protocol (NTP)
●Command: timedatectl
To list the timezones available in the system
●Command: timedatectl list-timezones
NTP protocol
NTP standardizes time synchronization; servers provide and respond to time
requests for clients
chronyd
●daemon for the chrony service used to synchronize the system
clock with NTP
●Chronyc: Command-line interface for Chrony
●‘/etc/chrony.conf’ - configuration file
●‘ /var/log/chrony’ - Log file