Skip to content

`tail -f` the log files and send all the new lines to any public channel as Slackbot.

License

Notifications You must be signed in to change notification settings

Leask/tail-2-slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tail-2-slackbot

tail -f the log files and send all the new lines to any public channel as Slackbot.

Screen Shot

Installation

    $ git clone https://github.com/Leask/tail-2-slackbot.git
    $ cd tail-2-slackbot
    $ npm install
    $ cp config.sample.js config.js

Usage

  1. Go to Slack integrations configuration page in your browser:

    https://[org domain].slack.com/services/new

  2. Add a new Slackbot, you will see a url like this one:

    https://[org domain].slack.com/services/hooks/slackbot?token=[token]

  3. Edit the config.js with the informations(org-domain & token) above.

  4. Remember to set the Slack channel in config.js.

  5. Add the log files you want to watch into logfiles list in config.js.

  6. Run the tail-2-slackbot daemon:

    $ node main

Getting help

Email / iMessage / Hangouts: i@leaskh.com

About

`tail -f` the log files and send all the new lines to any public channel as Slackbot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published