Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tail-agent

twilson6317MIT0.0.2

A agent process that tails a log and pushes it to a skv store

readme

tail-agent

A agent process that tails a json log file and puts it to a simple kv database.

usage

agent /var/log/foo.log --port=6000 --host=localhost --secret=foo

setup

First make sure you are running a skv datastore:

npm install skv -g
skv 4444 --secret=foo

Next run your agent which will watch the designated log file

agent /var/log/myapp.log --port=4444 --secret=foo