Parses the STDOUT logs emitted by rumors-line-bot
$ node index.js <Input file / glob> <output csv>
It supports 2 formats:
Should be a text file including something like:
112 <190>1 2018-07-16T17:37:36.459659+00:00 app web.1 - - ||LOG||<----------
(some content...)
112 <190>1 2018-07-16T17:37:36.465389+00:00 app web.1 - - ||LOG||---------->
To parse this format, please use HEROKU=1 node index.js .....
The log drain has the following configuration:
FILTER_PREFIX
:||LOG||
The logs are stored in the following nested directory structure:
# YearMonth / Day / Hour / MinSecond.Subseconds.log
201709/01/05/0308.70025261277880.log