[syslog-ng] [PATCH 2/3] afmongodb: Port to value-pairs().

Balazs Scheidler bazsi at balabit.hu
Sat Apr 30 23:35:20 CEST 2011


On Sun, 2011-04-24 at 11:29 +0200, Gergely Nagy wrote:
> Ported from custom, explicit key/value pairs to the far more flexible
> value-pairs() solution. By default, the driver uses a custom scope:
> selected_macros and nv_pairs, with a few patterns excluded.
> 
> The patch also turns the collection() parameter into a plain string
> (from a templatable string), to considerably reduce the work needed to
> insert messages into the database.
> 
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>

I've rebased this patch and adapted it to my value-pairs changes. Can
you please check if it works for you?

Thanks.

commit 7b9c8e2b12272c5454198e642c478c52e7859da0
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Sat Apr 30 23:34:16 2011 +0200

    afmongodb: Port to value-pairs().
    
    Ported from custom, explicit key/value pairs to the far more flexible
    value-pairs() solution. By default, the driver uses a custom scope:
    selected_macros and nv_pairs, with a few patterns excluded.
    
    The patch also turns the collection() parameter into a plain string
    (from a templatable string), to considerably reduce the work needed to
    insert messages into the database.
    
    Signed-off-by: Gergely Nagy <algernon at balabit.hu>
    Signed-off-by: Balazs Scheidler <bazsi at balabit.hu>


-- 
Bazsi




More information about the syslog-ng mailing list