Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 14: Logging and Light Observability: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Logs का: server चा flight recorder. Metrics काहीतरी तुटलं हे सांगतात; नेमकं काय ते फक्त logs सांगतात.
उजळणी (Revision) card 1 of 15: Logs का: server चा flight recorder · PNG download करा · Card page उघडा

Lesson: 14.1 Why logs — flight recorder for the server

stdout, stderr आणि docker logs. Container मधल्या files मध्ये लिहिणाऱ्या apps चे logs हरवतात.
उजळणी (Revision) card 2 of 15: stdout, stderr आणि docker logs · PNG download करा · Card page उघडा

Lesson: 14.2 stdout/stderr and docker logs

Local OS logs: journald आणि files. System problems OS log करतो, तुमचं app नाही.
उजळणी (Revision) card 3 of 15: Local OS logs: journald आणि files · PNG download करा · Card page उघडा

Lesson: 14.3 Local OS logs — journald and files

मुख्य मार्ग: CloudWatch Logs. प्रत्येक server वर login करून logs वाचणं scale होत नाही.
उजळणी (Revision) card 4 of 15: मुख्य मार्ग: CloudWatch Logs · PNG download करा · Card page उघडा

Lesson: 14.4 Primary path — CloudWatch Logs

Log groups, streams आणि agents (संकल्पना). रचना नसेल तर योग्य logs पटकन सापडत नाहीत.
उजळणी (Revision) card 5 of 15: Log groups, streams आणि agents (संकल्पना) · PNG download करा · Card page उघडा

Lesson: 14.5 Log groups, streams and agents (conceptual)

Searching: शेवटची error शोधा. हजारो lines scroll करताना महत्त्वाची सुटते.
उजळणी (Revision) card 6 of 15: Searching: शेवटची error शोधा · PNG download करा · Card page उघडा

Lesson: 14.6 Searching — find the last error

Correlation IDs: तास वाचवणारा एक paragraph. एक user request अनेक services मधून जातो; logs विखुरलेले.
उजळणी (Revision) card 7 of 15: Correlation IDs: तास वाचवणारा एक paragraph · PNG download करा · Card page उघडा

Lesson: 14.7 Correlation IDs — one paragraph that saves hours

Light observability शब्दसंग्रह. हे शब्द job posts आणि interviews मध्ये भरलेले.
उजळणी (Revision) card 8 of 15: Light observability शब्दसंग्रह · PNG download करा · Card page उघडा

Lesson: 14.8 Light observability vocabulary

Security आणि hygiene. Logs अनेक लोक वाचतात आणि खूप काळ राहतात; तिथले secrets leak होतात.
उजळणी (Revision) card 9 of 15: Security आणि hygiene · PNG download करा · Card page उघडा

Lesson: 14.9 Security and hygiene

Logging anti-patterns. गोंगाटाचे किंवा अस्पष्ट logs पैसे खातात आणि problems लपवतात.
उजळणी (Revision) card 10 of 15: Logging anti-patterns · PNG download करा · Card page उघडा

Lesson: 14.10 Anti-patterns

Troubleshooting table. Logs गायब असतील तर debugging थांबतं.
उजळणी (Revision) card 11 of 15: Troubleshooting table · PNG download करा · Card page उघडा

Lesson: 14.11 Troubleshooting table

Retention, खर्चाची जाणीव आणि lab hygiene. कायम ठेवलेले logs गुपचूप bill वाढवतात.
उजळणी (Revision) card 12 of 15: Retention, खर्चाची जाणीव आणि lab hygiene · PNG download करा · Card page उघडा

Lesson: 14.11b Retention, cost awareness and lab hygiene

लाल metric पासून log line पर्यंत: वेळेने जोडा. Metrics आणि logs वेगळ्या tools मध्ये; वेळ त्यांना जोडते.
उजळणी (Revision) card 13 of 15: लाल metric पासून log line पर्यंत: वेळेने जोडा · PNG download करा · Card page उघडा

Lesson: 14.11c From red metric to log line (glue with Chapter 13)

Structured logging छोटं उदाहरण. Text logs machines ना नीट शोधायला कठीण.
उजळणी (Revision) card 14 of 15: Structured logging छोटं उदाहरण · PNG download करा · Card page उघडा

Lesson: 14.11d Structured logging mini-example

Lab: generate, query, note लिहा. सापडलेलं लिहून ठेवणं हा कामाचाच भाग.
उजळणी (Revision) card 15 of 15: Lab: generate, query, note लिहा · PNG download करा · Card page उघडा

Lesson: 14.12 Lab — generate, query, write the note

मुलाखत (Interview) cards

Logs महत्त्वाचे का? काय, कधी आणि का झालं ते record करतात: errors, requests, निर्णय; debugging आणि audits साठी लागतात.
मुलाखत (Interview) card 1 of 15: Logs महत्त्वाचे का? · PNG download करा · Card page उघडा

Lesson: 14.1 Why logs — flight recorder for the server

Container app ने logs कुठे लिहावेत? stdout/stderr वर; runtime ते गोळा करतो आणि log agent central ठिकाणी पाठवतो.
मुलाखत (Interview) card 2 of 15: Container app ने logs कुठे लिहावेत? · PNG download करा · Card page उघडा

Lesson: 14.2 stdout/stderr and docker logs

Linux system logs कुठे असतात? systemd systems वर journald (journalctl) मध्ये, आणि syslog किंवा auth.log सारख्या /var/log खालच्या files मध्ये.
मुलाखत (Interview) card 3 of 15: Linux system logs कुठे असतात? · PNG download करा · Card page उघडा

Lesson: 14.3 Local OS logs — journald and files

Logs centralise का करायचे? सगळे servers एका ठिकाणी शोधायला, servers गेल्यावरही logs ठेवायला, आणि access आणि retention set करायला.
मुलाखत (Interview) card 4 of 15: Logs centralise का करायचे? · PNG download करा · Card page उघडा

Lesson: 14.4 Primary path — CloudWatch Logs

Log group vs log stream? Group: retention आणि access सह एका app/environment चा डबा. Stream: एका source मधून आलेल्या events ची मालिका.
मुलाखत (Interview) card 5 of 15: Log group vs log stream? · PNG download करा · Card page उघडा

Lesson: 14.5 Log groups, streams and agents (conceptual)

Logs मध्ये कारण पटकन कसं शोधता? Incident च्या वेळेने, मग ERROR level ने, मग request id किंवा keyword ने filter; पहिली error वाचा.
मुलाखत (Interview) card 6 of 15: Logs मध्ये कारण पटकन कसं शोधता? · PNG download करा · Card page उघडा

Lesson: 14.6 Searching — find the last error

Correlation ID म्हणजे काय? Services मध्ये पुढे दिला जाणारा आणि सगळीकडे log होणारा unique request id, म्हणजे एक request systems मध्ये follow करता येतो.
मुलाखत (Interview) card 7 of 15: Correlation ID म्हणजे काय? · PNG download करा · Card page उघडा

Lesson: 14.7 Correlation IDs — one paragraph that saves hours

Observability चे तीन खांब कोणते? Metrics (काय चाललंय), logs (घटनांचे तपशील), traces (services मध्ये वेळ कुठे जातो).
मुलाखत (Interview) card 8 of 15: Observability चे तीन खांब कोणते? · PNG download करा · Card page उघडा

Lesson: 14.8 Light observability vocabulary

काय कधीच log करू नये? Secrets (passwords, tokens, keys), पूर्ण card numbers, आणि नको असलेला personal data.
मुलाखत (Interview) card 9 of 15: काय कधीच log करू नये? · PNG download करा · Card page उघडा

Lesson: 14.9 Security and hygiene

उपयोगी log message कसा असतो? Timestamp, level, service नाव, स्पष्ट काय झालं, आणि ids (request, user, order).
मुलाखत (Interview) card 10 of 15: उपयोगी log message कसा असतो? · PNG download करा · Card page उघडा

Lesson: 14.10 Anti-patterns

Logs central ठिकाणी येणं थांबलं. काय check करता? Agent चालू आहे का, files वाचता येतात का (permissions), पाठवायला credentials/network आहे का, आणि rotation नंतर file path बदलला का?
मुलाखत (Interview) card 11 of 15: Logs central ठिकाणी येणं थांबलं. काय check करता? · PNG download करा · Card page उघडा

Lesson: 14.11 Troubleshooting table

Logging चा खर्च कसा control करता? Retention set करा, गोंगाटाचे logs कमी करा, DEBUG sample करा, आणि जुने logs स्वस्त storage मध्ये archive.
मुलाखत (Interview) card 12 of 15: Logging चा खर्च कसा control करता? · PNG download करा · Card page उघडा

Lesson: 14.11b Retention, cost awareness and lab hygiene

Alert पासून root cause पर्यंत कसं जाता? Alert ची वेळ घ्या, service चे logs त्या window ला filter करा, पहिली error शोधा, आणि ती graph शी जुळते का confirm करा.
मुलाखत (Interview) card 13 of 15: Alert पासून root cause पर्यंत कसं जाता? · PNG download करा · Card page उघडा

Lesson: 14.11c From red metric to log line (glue with Chapter 13)

Structured (JSON) logs का? level, request_id आणि order_id सारखे fields नाजूक text search ऐवजी नेमके filter आणि मोजता येतात.
मुलाखत (Interview) card 14 of 15: Structured (JSON) logs का? · PNG download करा · Card page उघडा

Lesson: 14.11d Structured logging mini-example

Logs मध्ये सापडलेलं कसं report करता? छोटी note लिहा: काय झालं, कधी, पुरावा (query + lines), कारण, आणि पुढचे steps.
मुलाखत (Interview) card 15 of 15: Logs मध्ये सापडलेलं कसं report करता? · PNG download करा · Card page उघडा

Lesson: 14.12 Lab — generate, query, write the note

तुलना (Comparison) cards

Plain-text logs vs structured (JSON) logs. Plain text: प्रत्येक line ला एक वाक्य, माणसांसाठी.Structured: प्रत्येक line मध्ये नावाचे fields, बहुतेक JSON, machines आणि माणसांसाठी.
तुलना (Comparison) card 1 of 3: Plain-text logs vs structured (JSON) logs · PNG download करा · Card page उघडा

Lesson: 14.11d Structured logging mini-example

stdout वर logging vs file मध्ये. stdout: program चा standard output stream.File: program disk वरच्या log file मध्ये lines लिहितो.
तुलना (Comparison) card 2 of 3: stdout वर logging vs file मध्ये · PNG download करा · Card page उघडा

Lesson: 14.2 stdout/stderr and docker logs

Logs vs traces. Logs: एका service मधल्या एकेक घटनांचे records.Traces: एका request चा services मधला पूर्ण मार्ग, प्रत्येक step चा वेळ सह.
तुलना (Comparison) card 3 of 3: Logs vs traces · PNG download करा · Card page उघडा

Lesson: 14.8 Light observability vocabulary