[syslog-ng] plugin options for Riak destination

Gergely Nagy algernon at madhouse-project.org
Wed May 20 11:27:03 CEST 2015

>>>>> "Parth" == Parth Oberoi <htrapdev at gmail.com> writes:

    Parth> destination d_riak {
    Parth>  riak(
    Parth>   server("localhost")
    Parth>   port(8087)
    Parth>   bucket("logs_${YEAR}${MONTH}${DAY}" type("message") mode("store"))
    Parth>   key("${UNIXTIME}-$(uuid)")
    Parth>   value("$(format-json --scope selected-macros)")
    Parth>  );
    Parth> };

This would be my preferred syntax, because bucket-type is tied to the
bucket anyway, so I feel it belongs there, instead of being a top-level

As for mode()... I'm a bit torn on that, but it feels more natural to
have it under bucket().

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150520/d48eb328/attachment.pgp 

More information about the syslog-ng mailing list