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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ค. 2024
  • #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

ความคิดเห็น • 105

  • @MPrashant
    @MPrashant  ปีที่แล้ว +26

    Watch at 1.25-1.5 Playback speed for better experience!

  • @apoorvchaturvedi962
    @apoorvchaturvedi962 วันที่ผ่านมา +1

    Very informative video . Please make a video on LDAP authentication.

  • @AmitFagna-fe8fi
    @AmitFagna-fe8fi 9 วันที่ผ่านมา +1

    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  6 วันที่ผ่านมา

      Thanks for the feedback!!

  • @mbakarnewala
    @mbakarnewala 3 หลายเดือนก่อน +7

    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 หลายเดือนก่อน +3

      Sun kr khushi hui bhai ✌🏻

  • @gretagrace5979
    @gretagrace5979 ปีที่แล้ว +6

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

    • @MPrashant
      @MPrashant  ปีที่แล้ว +1

      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-le2ec 7 หลายเดือนก่อน +4

    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!

  • @habibk9538
    @habibk9538 7 หลายเดือนก่อน +1

    Awesome !

    • @MPrashant
      @MPrashant  7 หลายเดือนก่อน

      Thank you! Cheers!

  • @udupimirror2068
    @udupimirror2068 10 หลายเดือนก่อน +4

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

    • @MPrashant
      @MPrashant  10 หลายเดือนก่อน

      Thank you so much 😀

  • @krishnarawat5664
    @krishnarawat5664 ปีที่แล้ว +1

    Thanks for video. Really informative

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Glad you liked it!

  • @rujutataware5049
    @rujutataware5049 ปีที่แล้ว +1

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

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      I will try my best

  • @ig_rushilandge
    @ig_rushilandge ปีที่แล้ว +3

    great video sir ji .. really helpful 🥰

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Glad to hear that!

  • @abhigajdhane.
    @abhigajdhane. 10 หลายเดือนก่อน +4

    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  9 หลายเดือนก่อน +1

      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

  • @harishbs3803
    @harishbs3803 ปีที่แล้ว +1

    Thank you for the video

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      You're welcome!

  • @ajaysingh9302
    @ajaysingh9302 ปีที่แล้ว +1

    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!

  • @AshishSingh-pf1vp
    @AshishSingh-pf1vp 7 หลายเดือนก่อน +1

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

  • @itsmemaitreyee
    @itsmemaitreyee ปีที่แล้ว +3

    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!

  • @snehalmali3461
    @snehalmali3461 ปีที่แล้ว +1

    Helpful video

  • @SudhirPatel46
    @SudhirPatel46 ปีที่แล้ว +1

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

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Thanks for the feedback!

  • @dhananjaymaurya5
    @dhananjaymaurya5 5 หลายเดือนก่อน +1

    it is very nice ..

  • @anilbangera1
    @anilbangera1 ปีที่แล้ว +1

    Great 👍

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Thank you 👍

  • @shubhammuke5552
    @shubhammuke5552 ปีที่แล้ว +1

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

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Hope it helped!

  • @BeingTechnicalAlways
    @BeingTechnicalAlways หลายเดือนก่อน +1

    Bhaiya majaa agya... God bless you 😍

    • @MPrashant
      @MPrashant  หลายเดือนก่อน

      Glad to hear that, thanks!!

  • @prasadonride
    @prasadonride 5 หลายเดือนก่อน +1

    Your way of explaining is so good.👌👌👌

    • @MPrashant
      @MPrashant  5 หลายเดือนก่อน

      Thanks a lot 😊

  • @hamzatechtunes
    @hamzatechtunes ปีที่แล้ว +1

    DONE. THANKS.

  • @akashkhandagale1293
    @akashkhandagale1293 ปีที่แล้ว +3

    Please explain types of backup in Linux

  • @deveshpatil4838
    @deveshpatil4838 ปีที่แล้ว +1

    great as usual sir🙂

  • @audumbarbhosale5217
    @audumbarbhosale5217 ปีที่แล้ว +1

    ❤❤❤❤

  • @pritishs4544
    @pritishs4544 ปีที่แล้ว

    You are doing a great job sir 👍 subscribed.

  • @operationsgtt257
    @operationsgtt257 3 หลายเดือนก่อน +1

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

    • @MPrashant
      @MPrashant  3 หลายเดือนก่อน +1

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

  • @msffighter
    @msffighter ปีที่แล้ว +1

    Love you sir ❤️

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Thanks for the love & support!

  • @sumit_soran
    @sumit_soran ปีที่แล้ว +1

    Nice video sir ❤️

  • @satishgaikwad1454
    @satishgaikwad1454 ปีที่แล้ว +1

    Very nice I like it

  • @yashswinithakur4140
    @yashswinithakur4140 ปีที่แล้ว +1

    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
      th-cam.com/video/FsSf3rmu2Cc/w-d-xo.html

  • @RajeshKumar-mh2jm
    @RajeshKumar-mh2jm ปีที่แล้ว +1

    Some more detailed video on logs analysis please

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      Sure I will try

  • @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

  • @AshishSingh-pf1vp
    @AshishSingh-pf1vp 7 หลายเดือนก่อน +1

    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.

  • @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

  • @user-ez3lp1or2g
    @user-ez3lp1or2g 9 หลายเดือนก่อน

    Sir , please provide os upgradation video

  • @ajaysingh9302
    @ajaysingh9302 ปีที่แล้ว

    make a video on dhcp service and how to configure it

  • @situnandananda126
    @situnandananda126 5 หลายเดือนก่อน

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

  • @JaskaranSingh-io8uj
    @JaskaranSingh-io8uj 8 หลายเดือนก่อน +1

    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 :)

  • @bhaveshkunbi2164
    @bhaveshkunbi2164 11 หลายเดือนก่อน

    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 ?

  • @pratikshaparalikar3001
    @pratikshaparalikar3001 10 หลายเดือนก่อน

    Can you please share name node safe mode operations

  • @ankurrathour7235
    @ankurrathour7235 ปีที่แล้ว +1

    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

  • @mandarthale6508
    @mandarthale6508 ปีที่แล้ว +1

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

  • @kazihafez1752
    @kazihafez1752 ปีที่แล้ว +2

    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  ปีที่แล้ว +1

      @@abidrasool1268

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      @@abidrasool1268
      Apache video - th-cam.com/video/TQR0sPgVpEg/w-d-xo.html

  • @shaistakhokhar2751
    @shaistakhokhar2751 ปีที่แล้ว +1

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

    • @MPrashant
      @MPrashant  ปีที่แล้ว

      You can exit using - CTRL + C

  • @captainindia_
    @captainindia_ ปีที่แล้ว +3

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

    • @MPrashant
      @MPrashant  ปีที่แล้ว +1

      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

  • @riteshraj9689
    @riteshraj9689 9 หลายเดือนก่อน +1

    Sir please share interview questions 1 and 2 notes

    • @MPrashant
      @MPrashant  9 หลายเดือนก่อน +1

      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 ปีที่แล้ว +1

    bhaiya please make shell script tutorial ,please

    • @MPrashant
      @MPrashant  ปีที่แล้ว +1

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

  • @santoshb4
    @santoshb4 ปีที่แล้ว +1

    I request you to add Subtitles

  • @asktostranger8296
    @asktostranger8296 11 หลายเดือนก่อน +1

    Apna linked in account share kar do yaar

  • @homeprojects5152
    @homeprojects5152 2 หลายเดือนก่อน

    Any 12th student here