This is a work in progress, things might and definitely will change :)
The name literally means nothing. It was the first thing that came to my head and I did not want to invest alot of time on it!
A log file watcher that sends alerts whenever a particular pattern is observed
Efficiently watch (text) log files for changes and trigger an action whenever a particular chang is observed eg maybe send an alert whenever the keyword error appears in the log output.
pattern: Simply a keyword/s that you want to track and be notified whenever it appears in a logfile.
backend: This is the notification mechanism that is triggered whenever a pattern is observed. An example of a simple backend is the email backend that sends an email to the configured email address.
At the moment am keeping things pretty straight forward and compiling can be easily done by compiling with the good old g++ directly
- inotify for notifications on file changes
- https://github.com/nlohmann/json for parsing the json config
- Attach email backend
- Add configuration example to readme
- Add Cmake config for building
- Explore ways to add backends in a scaleable manner
- Add performance numbers
- Add tests and coverage stuff
- Add support for 'space' delimeters eg TABs