Implementing 'tail -f'
- Track: Go devroom
- Room: H.1302 (Depage)
- Day: Sunday
- Start: 09:30
- End: 09:55
As part of a log file monitoring tool, I implemented a file tailer that keeps reading new lines from log files. This turned out to be much more challenging than I thought, especially because it should run on multiple operating systems and it should be robust against logrotate. In this 20 Minutes talk I will present the lessons learned, the pitfalls and dead-ends I ran into.
The monitoring tool is https://github.com/fstab/grok_exporter
Slides: https://goo.gl/9ABX2R (docs.google.com)
Speakers
Fabian Stäber |