Linux Log Monitoring | How to Do Log Analysis? | MPrashant



Linux Log Monitoring | How to Do Log Analysis? | MPrashant

Linux Log Monitoring | How to Do Log Analysis? | MPrashant

#linux #mprashant #linuxtutorial @MPrashant

Join this channel to get access to perks:
https://www.youtube.com/channel/UCmbNDD-DifF92QNbKvlF_SA/join

In this video, we’ll be discussing how to do log analysis in Linux with tips on different log files and what to look for when monitoring your system. We’ll also cover how to create log files and send alerts when something goes wrong.

If you’re looking for tips on how to do log analysis in Linux, then this is the video for you! By the end of this video, you’ll have a good understanding of how to use log monitoring to find problems and troubleshoot issues.

——————————————–
Topics we will cover about different log files for Linux like
boot.log
secure
messages
maillog
httpd
cron

Some basics tips and methods for log analysis on Linux server in Hindi
Linux var/log
Linux /var/log
Linux logs
Linux logging
Linux log analysis

00:00 Intro
00:45 What are log files?
02:14 Introducing /var/log
05:55 boot.log file
10:25 cron logs

————
boot –
It contains log about the booting process
On left side you can see OK messages
In case of any issues you may see FALSE, ALERT or ERROR
It is going through each step of boot startup
When the server is UP then the logging will be stopped
When you reboot your machine, it will rewrite this file

secure
This log keep the records of your logging activity
when someone logged in or out or authentication failure etc
We can show example by logging in from another terminal

messages
Most commonly used log file
Has hardware, software, application, process related info whatever activity going on
We can also show example
Switch user
Restarting a service like firewall
yum install nginx (will give the message about dnf)

chron
When you do anything about the chron jobs activity then it will generate the logs in this file

maillog
It contains log about the sendmail deamon
Like sending out email or email coming in
For any issues on sending the email you check here

For the packages related info
dnf.log

Comments are closed.