I don't really have an opinion right here. Those with actual experience with risk should chime in.
Hello everyone,In order to build a riak destination , the first task is to figure out theoptions syslog-ng plugin would need to understand, For this we have considered thefollowing two use cases1) Inserting each log message into its own unique key.A templatable bucket would storekeys(time-stamps) and its respective values(log messages)2) Inserting each log message into a Set contained under a key.In order to use a set we need to have a bucket type as "set".Rest is similar to the first case.To switch between the two cases an option mode() is used with parameters "set" for using aset (2nd case) and "store" for the first case.Here is a config snippet for the destination:destination d_riak {riak(server("localhost")port(8087)bucket-type("message")bucket("logs_${YEAR}${MONTH}${DAY}")key("${UNIXTIME}-$(uuid)")value("$(format-json --scope selected-macros)")mode("set"));};I would really like to know if the users would prefer to set the mode and bucket type as separateoptions or as sub-options under bucket() as below:destination d_riak {riak(server("localhost")port(8087)bucket("logs_${YEAR}${MONTH}${DAY}" type("message") mode("store"))key("${UNIXTIME}-$(uuid)")value("$(format-json --scope selected-macros)"));};Any other feedback on the topic is also welcome.Thanks,Parth
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq