Bump the syslog-ng requirement to 3.6+

With 3.5/master branched off, bump the syslog-ng requirement to 3.6+.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
.travis.yml: Do not compile master

Master will require syslog-ng 3.6+, which is not packaged yet, so don't
try to compile it for now.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
modules: Convert to syslog-ng master

syslog-ng master changed how LogPipe is created and initialized, adapt
our modules to the new API.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Merge pull request #17 from talien/feature/lua-fixes

lua, monitor: Fixed compiler warnings
lua, monitor: Further compiler warning fixes

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
rss: Don't use g_list_free_full()

Instead of using g_list_free_full(), iterate over the list ourselves.
This avoids a dependency on a more recent glib. This fixes #13.

Reported-by: Fabien Wernli
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
README.md: Corrected the 3.5/master branch link

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
lua: Added Message.get_timestamp(msg)

With this, you can directly query the message's
unix timestamp in integer format, without formatting it with
a macro and converting it back to number.

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
Merge pull request #18 from talien/feature/lua-msg-timestamp

lua: Added Message.get_timestamp(msg)
graphite-output: Added graphite plaintext proto formatting plugin.

graphite-output, a new value-pairs based template function is introduced.
It converts the incoming message to the graphite plaintext protocol format.
It is ideal to use with the monitor-source plugin generated messages.
Example usage:

destination d_graphite {
  tcp( host("localhost") port(2003) template("$(graphite-output --key monitor.*)"));
};

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
graphite: Added administrational thingies.

Updated README and added graphite to configure summary.

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
graphite-output: Added graphite plaintext proto formatting plugin.

graphite-output, a new value-pairs based template function is introduced.
It converts the incoming message to the graphite plaintext protocol format.
It is ideal to use with the monitor-source plugin generated messages.
Example usage:

destination d_graphite {
  tcp( host("localhost") port(2003) template("$(graphite-output --key monitor.*)"));
};

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
graphite: Added administrational thingies.

Updated README and added graphite to configure summary.

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
Merge pull request #19 from talien/feature/graphite-output

graphite-output: Added graphite plaintext proto formatting plugin.
Merge branch 'master' into 3.5/master