Merge remote-tracking branch 'talien/feature/lua-fixes' into 3.5/master
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>
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>
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 branch 'master' into 3.5/master
lua: Added logging utility functions.

There are four new functions callable from monitor source and lua destination.
They are syslogng.debug, syslogng.error, syslogng.verbose, syslogng.info.
Through them it is possible to create syslog-ng log messages. All of them
requires one string (the message) as a parameter.

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
Merge pull request #22 from talien/feature/lua-utility-funcs

lua: Added logging utility functions.
scl/elasticsearch: Add a simple, python-based ES destination

This adds an elasticsearch() destination, that uses the Python Requests
library to send JSON-formatted data to Elasticsearch. It is lacking
error handling, and isn't a speed daemon, either, but it introduces a
destination config API, which we can keep, when the underlying code
changes.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
README.md: Mention that this branch does not work with 3.6

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>