It's probably not too difficult to fix either. An additional option in the grammar, and propagating the specified value to template formatting.

On Jul 25, 2013 10:19 AM, "Fekete Robert" <frobert@balabit.hu> wrote:


On 07/25/2013 08:58 AM, Gergely Nagy wrote:
> Kyaw Kyi <KKyi@nyx.com> writes:
>
>> Hi,
>>
>> I tried to use time_zone() option in mongodb destination driver but it
>> is throwing an error.
>
> That's because the driver does not support the option at all, and as
> such, from the syslog-ng point of view, it is a syntax error. If you
> could file an issue in BugZilla[1], that would be great, as I won't
> forget about it by the next time I work on the MongoDB destination.
>
> Thanks!
>
Until it gets fixed, I've removed this option from the documentation of the
mongodb destination.

Robert

______________________________________________________________________________
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