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

#linux #mprashant #linuxtutorial ‪@MPrashant‬
Join this channel to get access to perks:
/ @mprashant
Welcome to our in-depth tutorial on Linux Log Monitoring and Log Analysis, presented in an easy-to-understand format. This video is a must-watch for anyone involved in system administration, cybersecurity, or IT management, as well as for those who are curious about the inner workings of Linux systems.
🌟 In This Video:
Understanding Linux Logs: Dive into what log files are in Linux, where to find them, and why they are critical for system health and security.
Tools for Log Monitoring: Explore various tools and commands available in Linux for log monitoring, including both command-line and graphical options.
Step-by-Step Log Analysis: Learn how to perform effective log analysis to identify common issues, potential security breaches, and system performance insights.
Real-World Applications: See how log monitoring and analysis apply in real-world scenarios, enhancing your ability to manage and secure Linux environments.
👨‍💻 Why This Video?:
Comprehensive Guide: From basic concepts to advanced analysis techniques, this video covers all you need to know about Linux log monitoring.
Practical Approach: Includes practical demonstrations and examples for a hands-on understanding.
For All Skill Levels: Whether you're a beginner or an experienced professional, there's valuable information for everyone.
📚 Ideal Audience:
System administrators and IT professionals.
Students studying computer science or IT.
Linux enthusiasts and power users.
Anyone interested in cybersecurity and system diagnostics.
🚀 Enhance Your IT Skills:
Understanding log monitoring and analysis is essential for maintaining and securing any Linux system. By the end of this video, you’ll be equipped with the knowledge to effectively monitor, analyze, and act on the information in Linux log files.
🔔 Stay Connected:
Don't forget to like, share, and subscribe for more in-depth tech tutorials. Let us know in the comments what Linux topic you’d like us to cover next!
#LinuxLogs #LogAnalysis #SystemMonitoring #LinuxTutorial #ITSecurity #SysadminGuide #LinuxTips #TechSkills #LinuxMonitoring #Cybersecurity #LinuxAdministration #ITManagement #TechEducation
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

Пікірлер: 104

  • @MPrashant
    @MPrashant Жыл бұрын

    Watch at 1.25-1.5 Playback speed for better experience!

  • @gretagrace5979
    @gretagrace5979 Жыл бұрын

    Very well-explained, sir!! There is no way one can leave it halfway through. Thank you so much for the video!!!

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Glad it was helpful!

  • @AshishSingh-pf1vp

    @AshishSingh-pf1vp

    7 ай бұрын

    @@MPrashant Yes Sir , your videos boost our confidence & we become confident while doing our work in Prod Environment. Thank You so much once again.

  • @manojkumar-le2ec
    @manojkumar-le2ec7 ай бұрын

    thanks prashant bhai 😀 nice video, i am learning lots of things from your videos keep doing again thank you

  • @MPrashant

    @MPrashant

    7 ай бұрын

    Glad to hear that! Keep learning keep growing!

  • @mbakarnewala
    @mbakarnewala3 ай бұрын

    Bhai Kasam bta rha hu, onsite me baitha hu , angrejo se angregi me hi bak bak krta hu , pr ye jo hindi me kt session le k kaleje ko jo thandak mili h na 👌, bahot badhiya 👍

  • @MPrashant

    @MPrashant

    3 ай бұрын

    Sun kr khushi hui bhai ✌🏻

  • @AmitFagna-fe8fi
    @AmitFagna-fe8fi3 күн бұрын

    I appreciate your teaching sir u made separate videos on every topic I like it sir very much thanks for your hard work 🙏🎉🎉🎉🎉 I 🎉🎉❤❤❤d

  • @MPrashant

    @MPrashant

    10 сағат бұрын

    Thanks for the feedback!!

  • @krishnarawat5664
    @krishnarawat5664 Жыл бұрын

    Thanks for video. Really informative

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Glad you liked it!

  • @habibk9538
    @habibk95387 ай бұрын

    Awesome !

  • @MPrashant

    @MPrashant

    7 ай бұрын

    Thank you! Cheers!

  • @AshishSingh-pf1vp
    @AshishSingh-pf1vp7 ай бұрын

    Sir your Videos are very much valuable. Please provide one video on logrotate topic

  • @abhigajdhane.
    @abhigajdhane.10 ай бұрын

    Hello sir . Your way of explaining is so good. It’s helps me a lot in my interview preparation Once again thank you so much. For makings such useful content 👍🏻

  • @MPrashant

    @MPrashant

    8 ай бұрын

    Hey there! I'm really glad my videos are helping you with your interview preparation. Thanks for the shoutout and keep watching for more useful content!

  • @NARENDRADAMODARDASMODI-qq9cv

    @NARENDRADAMODARDASMODI-qq9cv

    8 ай бұрын

    really helping me a lot @@MPrashant , i am planning to work in IT post retirement. thanks buddy

  • @SudhirPatel46
    @SudhirPatel46 Жыл бұрын

    Something new to learn always, keep going. Thanks for your videos !!

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks for the feedback!

  • @ig_rushilandge
    @ig_rushilandge Жыл бұрын

    great video sir ji .. really helpful 🥰

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Glad to hear that!

  • @udupimirror2068
    @udupimirror206810 ай бұрын

    Dear Prashant, As per your description, I am sure your channel will reach 1 lakh subscribers soon.

  • @MPrashant

    @MPrashant

    10 ай бұрын

    Thank you so much 😀

  • @prasadonride
    @prasadonride4 ай бұрын

    Your way of explaining is so good.👌👌👌

  • @MPrashant

    @MPrashant

    4 ай бұрын

    Thanks a lot 😊

  • @dhananjaymaurya5
    @dhananjaymaurya55 ай бұрын

    it is very nice ..

  • @rujutataware5049
    @rujutataware5049 Жыл бұрын

    nice.....Plese keep uploading such real time production issues and solutions....

  • @MPrashant

    @MPrashant

    Жыл бұрын

    I will try my best

  • @akashkhandagale1293
    @akashkhandagale1293 Жыл бұрын

    Please explain types of backup in Linux

  • @itsmemaitreyee
    @itsmemaitreyee Жыл бұрын

    you are awesome Prashant sir, office mey kaam asaan kardiye yehi knowledge aap itne asani se dikha diye aur yehi chiz e seniors dikahne k liye dependency create kar k rakhte the!!. Now I believe many freshers dont have to struggle much 😇😇

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks for the feedback! Glad to hear that my videos are so helpful! :)

  • @MPrashant

    @MPrashant

    Жыл бұрын

    All the best!

  • @harishbs3803
    @harishbs3803 Жыл бұрын

    Thank you for the video

  • @MPrashant

    @MPrashant

    Жыл бұрын

    You're welcome!

  • @ajaysingh9302
    @ajaysingh9302 Жыл бұрын

    hii sir the way u teach is very good i have cleared many doubts and concept by seeing ur video make more advance video for Linux

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks for the feedback!

  • @snehalmali3461
    @snehalmali3461 Жыл бұрын

    Helpful video

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks!

  • @anilbangera1
    @anilbangera1 Жыл бұрын

    Great 👍

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thank you 👍

  • @BeingTechnicalAlways
    @BeingTechnicalAlwaysАй бұрын

    Bhaiya majaa agya... God bless you 😍

  • @MPrashant

    @MPrashant

    Ай бұрын

    Glad to hear that, thanks!!

  • @shubhammuke5552
    @shubhammuke5552 Жыл бұрын

    is video ka muze besabri se intazar tha interview mein ye wala que hota hi hai

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Hope it helped!

  • @audumbarbhosale5217
    @audumbarbhosale5217 Жыл бұрын

    ❤❤❤❤

  • @hamzatechtunes
    @hamzatechtunes Жыл бұрын

    DONE. THANKS.

  • @MPrashant

    @MPrashant

    11 ай бұрын

    Great!

  • @pritishs4544
    @pritishs4544 Жыл бұрын

    You are doing a great job sir 👍 subscribed.

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thank you!

  • @operationsgtt257
    @operationsgtt2573 ай бұрын

    Great work Bhai. Would be great if you use terminal in dark mode for your upcoming videos

  • @MPrashant

    @MPrashant

    3 ай бұрын

    Thanks for the feedback! Sure, I started using dark bg now in my new videos.

  • @msffighter
    @msffighter Жыл бұрын

    Love you sir ❤️

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks for the love & support!

  • @sumit_soran
    @sumit_soran Жыл бұрын

    Nice video sir ❤️

  • @MPrashant

    @MPrashant

    Жыл бұрын

    thanks!

  • @satishgaikwad1454
    @satishgaikwad1454 Жыл бұрын

    Very nice I like it

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks!

  • @user-ez3lp1or2g
    @user-ez3lp1or2g9 ай бұрын

    Sir , please provide os upgradation video

  • @deveshpatil4838
    @deveshpatil4838 Жыл бұрын

    great as usual sir🙂

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Thanks!

  • @RajeshKumar-mh2jm
    @RajeshKumar-mh2jm Жыл бұрын

    Some more detailed video on logs analysis please

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Sure I will try

  • @yashswinithakur4140
    @yashswinithakur4140 Жыл бұрын

    Could you please create videos on disk management like lvm creation extend and mount unmount all about partition disk addition it will be helpful for us

  • @MPrashant

    @MPrashant

    Жыл бұрын

    I have uploaded one video on LVM kzread.info/dash/bejne/eKeHyJWrndiYc8Y.html

  • @ajaysingh9302
    @ajaysingh9302 Жыл бұрын

    make a video on dhcp service and how to configure it

  • @AshishSingh-pf1vp
    @AshishSingh-pf1vp7 ай бұрын

    Logrotate is very important in Prod environment for monthly back up

  • @MPrashant

    @MPrashant

    7 ай бұрын

    okay I will create a video soon :)

  • @AshishSingh-pf1vp

    @AshishSingh-pf1vp

    7 ай бұрын

    @@MPrashant Thank you so much Sir for Prompt response.

  • @critixterofficials4744
    @critixterofficials4744 Жыл бұрын

    sir, I face a problem in my ubuntu when I play bandit over the wire whenever I complete a level and goes to another level using ssh bandit@localhost then an error occur of permisson denied. Please can you help me to solve the ssh localhost problem

  • @HikeWithAK
    @HikeWithAK Жыл бұрын

    Find the largest log file in computer (x.log) and truncate it in 100 lines? Can you please tell me how to do this I am unable to understand what is this? Please reply

  • @pratikshaparalikar3001
    @pratikshaparalikar30019 ай бұрын

    Can you please share name node safe mode operations

  • @JaskaranSingh-io8uj
    @JaskaranSingh-io8uj8 ай бұрын

    Hello Parshantvthank you so much for a great Video , Prashant how we can save logs after every 1 hour in file ? Any idea please please help

  • @MPrashant

    @MPrashant

    8 ай бұрын

    Thanks for the feedback! For saving logs every hours you use a shell script to do it for you using cron job which will run every hour :)

  • @situnandananda126
    @situnandananda1265 ай бұрын

    maximum things were about text handling in linux like less, more pls add those in separate topis

  • @bhaveshkunbi2164
    @bhaveshkunbi216411 ай бұрын

    Ubuntu 20.04 LTS system frequently freeze (keyboard and mouse stuck) ho jata he uska fir hard power reset hi ek option rehta he. uska koi solution he? aur uska freeze ho ne ka log kaha store hota he ?

  • @mandarthale6508
    @mandarthale6508 Жыл бұрын

    Sir, Please try to upload video on Samba & NFS server

  • @MPrashant

    @MPrashant

    Жыл бұрын

    soon

  • @ankurrathour7235
    @ankurrathour7235 Жыл бұрын

    Please make a video on ... suppose there is a log file of 100 GB and I want to search for any error then how would I do... Please help as what command should we use and how to deeply dig out the error from log which is of 100GB

  • @MPrashant

    @MPrashant

    Жыл бұрын

    sure

  • @MPrashant

    @MPrashant

    Жыл бұрын

    Good use case

  • @captainindia_
    @captainindia_ Жыл бұрын

    Sir agar musje additional skills sikhni hai linux ke sath toh konsi skills sikho Mtlb ki jo linux se realted ho

  • @MPrashant

    @MPrashant

    Жыл бұрын

    If you wanna go to core linux related task, devops related tools you can learn like Ansible, Docker, Kubernete etc

  • @captainindia_

    @captainindia_

    Жыл бұрын

    Sir mai apko dm kiya hai ek query jo internet pr bhi nhi hai pls reply me on insta

  • @shaistakhokhar2751
    @shaistakhokhar2751 Жыл бұрын

    Sir when we check logs error how to come out interactive mode. Thanks

  • @MPrashant

    @MPrashant

    Жыл бұрын

    You can exit using - CTRL + C

  • @kazihafez1752
    @kazihafez1752 Жыл бұрын

    Sir Linux me mongodb installation ke bare video banao please

  • @MPrashant

    @MPrashant

    Жыл бұрын

    sure, I will try to upload soon

  • @abidrasool1268

    @abidrasool1268

    Жыл бұрын

    How to control implement nginx and apache service

  • @abidrasool1268

    @abidrasool1268

    Жыл бұрын

    PL video creat

  • @MPrashant

    @MPrashant

    Жыл бұрын

    @@abidrasool1268

  • @MPrashant

    @MPrashant

    Жыл бұрын

    @@abidrasool1268 Apache video - kzread.info/dash/bejne/hoWGktWJl7nWdco.html

  • @riteshraj9689
    @riteshraj96899 ай бұрын

    Sir please share interview questions 1 and 2 notes

  • @MPrashant

    @MPrashant

    9 ай бұрын

    Here you go Part1 - drive.google.com/file/d/1yzZ3Ev-j1iMVNQohB51MnTAiSnid84xV/view?usp=sharing Part2 - drive.google.com/file/d/1BA9R1gO_6-ec47tpSg2prgiJPAE4Bi15/view?usp=sharing

  • @riteshraj9689

    @riteshraj9689

    9 ай бұрын

    Thankyou soo much sir

  • @riteshraj9689

    @riteshraj9689

    9 ай бұрын

    Please Also share part 2

  • @MPrashant

    @MPrashant

    9 ай бұрын

    @@riteshraj9689 drive.google.com/file/d/1BA9R1gO_6-ec47tpSg2prgiJPAE4Bi15/view?usp=sharing

  • @redhateducation7787
    @redhateducation7787 Жыл бұрын

    bhaiya please make shell script tutorial ,please

  • @MPrashant

    @MPrashant

    Жыл бұрын

    We already have a dedicated playlist on Shell Scripting on the channel!

  • @santoshb4
    @santoshb4 Жыл бұрын

    I request you to add Subtitles

  • @MPrashant

    @MPrashant

    Жыл бұрын

    I will try

  • @asktostranger8296
    @asktostranger829610 ай бұрын

    Apna linked in account share kar do yaar

  • @homeprojects5152
    @homeprojects51522 ай бұрын

    Any 12th student here