Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 346 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 346 Bytes

boink

send a slack message to a webhook when you see a line in a log file. make sure to put usernames in brackets.

usage:

export SLACK_WEBHOOK_URL=https://...
boink logfile 'pattern' 'message'

example:

export SLACK_WEBHOOK_URL=https://...
boink /var/log/cassandra/system.log 'sessions completed' '<@patcable> node is done'