[syslog-ng] Format-json scope

Vámos Balázs vamos.balazs at zuriel.hu
Tue Jan 31 22:50:36 CET 2012


And I am unable to use any comma separated list of scope parameters.

On 01/31/2012 10:28 PM, Vámos Balázs wrote:
> There is a more important information: 'nv-pairs' works.
>
>
> On 01/31/2012 10:26 PM, Vámos Balázs wrote:
>> Hi,
>>
>> Version: syslog-ng ose 3.3.3
>>
>> Error message in log:
>> error in template: $(format-json --scope soft-macros)
>>
>> Config:
>> destination d_json{
>>   file("/var/log/messages.json" template("$(format-json --scope
>> soft-macros)\n") );
>> };
>>
>> The 'all-macros' and 'selected-macros' are working.
>>
>>
>> Thanks,
>>
>> Balazs
>>
>> ______________________________________________________________________________
>> 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
>>
> ______________________________________________________________________________
> 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
>



More information about the syslog-ng mailing list