Create a directory for this project and install the dependencies.
npm install adm-zip loggly
Download the log files for Rackspace Cloud Load Balancers from the Cloud Files container, ex: lb_123456_lb-name_Sep_2014
.
Then, create an examples
directory and put the zipped log files there.
Copy process-logs.js
to a local file of the same name and add your loggly credentials.
Process Log Files with
node process-logs.js
You could also skip loggly all together and just use this to output logs to the console and just grep what you're looking for.
node process-logs.js | grep "search string"
clean, son.