Skip to content

A log file watcher that sends alerts whenever a particular pattern is observed

License

Notifications You must be signed in to change notification settings

michaelmwangi/biti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a work in progress, things might and definitely will change :)

biti

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!

Short description

A log file watcher that sends alerts whenever a particular pattern is observed

Goal

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.

Concepts

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.

Building

At the moment am keeping things pretty straight forward and compiling can be easily done by compiling with the good old g++ directly

Dependecies

TODO

  1. Attach email backend
  2. Add configuration example to readme
  3. Add Cmake config for building
  4. Explore ways to add backends in a scaleable manner
  5. Add performance numbers
  6. Add tests and coverage stuff
  7. Add support for 'space' delimeters eg TABs

About

A log file watcher that sends alerts whenever a particular pattern is observed

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages