Lab – Basic Log Analysis

Lab – Basic Log Analysis TH – เป้าหมาย ผู้เรียนสามารถเปิดดู log พื้นฐาน สามารถค้นหา error หรือข้อความที่น่าสนใจใน log ได้ EN – Goals Open and read basic logs Search for errors or interesting events in logs TH – โจทย์ตัวอย่าง ใช้ journalctl ดู log ล่าสุด ใช้ grep ค้นหาคำว่า “error” หรือ “fail” ใน log หนึ่งไฟล์ ให้ผู้เรียนอธิบายว่าข้อความที่พบอาจสื่อถึงปัญหาอะไร EN – Tasks Use journalctl to view recent logs Use grep to find “error” or “fail” in a log file Ask learners to interpret what the messages might indicate

December 10, 2025 · 1 min · 79 words · Mr.Green

Basic Log Analysis

Basic Log Analysis TH – บทนำ เน้นให้ผู้เรียนรู้ว่า: log อยู่ที่ไหน ดู log ยังไง ใช้ log ในการแก้ปัญหาพื้นฐานได้อย่างไร EN – Introduction Focus on: Where logs are stored How to view logs Using logs in basic troubleshooting TH – เนื้อหาหลัก แนะนำโฟลเดอร์ /var/log แนะนำเครื่องมือ journalctl ใช้ grep เพื่อค้นหาคำสำคัญใน log EN – Main Content Log directories like /var/log journalctl basics Using grep to search in logs Exercises ให้ผู้เรียนลองค้นคำว่า “error” ใน log หนึ่งไฟล์

December 10, 2025 · 1 min · 66 words · Mr.Green