Lumberyard is a fluentd plugin of sorts. Technically it's just a set of fluentd configurations and a program run by the built-in exec output plugin.
Lumberyard takes specifically formatted log messages and inserts them into a relational database.
Lumberyard only accepts valid json messages that begin with the lumber attribute. The inner json consists of a table name and an object with column name and value key pairs.
For example:
{"lumber":{"myTable":{"column1":"foobar", "column2":101}}}
If you're like me, you don't want your OLTP database bogged down with audit and tracking information. With Lumberyard, you simply log audit and tracking data straight to your syslog and your data will be asynchronously stored in your audit database.
- MSSQL Server
- Linux Server for fluentd **Installation has only been tested on Ubuntu 14.04 Trusty
Lumberyard expects SQL connection information to be available via environment variables.
Save these variables to a file and source it
export LUMBERYARD_SERVER=xxxxxxxx:
export LUMBERYARD_DB=xxxxxxxx
export LUMBERYARD_USER=xxxxxxxx
export LUMBERYARD_PASSWORD=xxxxxxxx
This will install fluentd, freetds, and the python tools needed
- from /home/ubuntu** clone this repo
- cd into Lumberyard
- run
make full
Installation is much more manual for you because we don't want to overwrite your existing fluentd config settings.
- From /home/ubuntu** clone this repo
- cd into Lumberyard
- run
make partial - Find and open your fluentd config file for editing
- I assume you already have a
<source>section in your config, if not, seeLumberyard/fluent.config. - Your fluentd config must use
type copyto allow logs to forward to multiple destinations, assuming you already have a destination set up. - Copy the
<store>tag inLumberyard/fluent.configinto your fluentd config - Restart your fluentd