Syslog-ng for DevOps: Customized Logging with Python
summary
Shows how to use syslog-ng’s new Python bindings to collect, filter and forward logs by embedding Python code as sources, parsers or destinations in syslog-ng configurations. Covers storing code inline or in external files, the trade-offs of Python vs native C (ease of extension and no extra setup versus lower speed), and how to build from quick proof‑of‑concept handlers to more robust initialisation and connection-managed integrations with local and cloud services.
AI-written summary · about
chapters (17)
- 0:00Start
- 2:07ral logging?
- 2:56og-ng roles
- 3:12a collector
- 5:50a filtering
- 6:47tinations
- 8:14log messages
- 9:12structured logging
- 10:47the most used version?
- 14:09conf: getting started
- 19:11estination: mandatory
- 20:37estination: optional
- 21:35file destination
- 33:09etcher source: config
- 34:52etcher source: code continued
- 36:16xamples
- 36:52community!
related talks
11mUsing and abusing Python's logging module for more readable logs
11mUsing and abusing Python's logging module for more readable logs
31mDevelopers Have the Logs Their Imagination Allows
30mEffortless Logging: A deep dive into the logging module
29mErgonomic codesigning for the Python ecosystem with Sigstore
12mDebugging Python in Production: Practical Techniques Beyond Print Statements
24m"Introduction to OpenTelemetry with Python"
30mPySecure: Your Security One Stop Shop using Python
