[Lognorm] op-quoted-string with single quotes

Adam Williams adam at spreedly.com
Mon Apr 11 18:19:04 CEST 2016


Hello,

I have lines like this:

    app=billing description='something long in here'

I'd like to use something shown in the documentation that doesn't seem
to actually work,
http://www.liblognorm.com/files/manual/configuration.html#string

   rule=app=%app:string{"quoting.char.begin":"'",
"quoting.char.end":"'"}%
description=%desc:string{"quoting.char.begin":"'",
"quoting.char.end":"'"}%

However, I get the following error:

    liblognorm error: invalid field type 'string{"quoting.char.begin"'

Then I find that we're told there is no string type:
https://github.com/rsyslog/liblognorm/issues/169

This led me to attempt:

    op-quoted-string{"quoting.char.begin":"'", "quoting.char.end":"'"}
    liblognorm error: invalid field type 'op-quoted-string{"quoting.char.begin"'

Is it possible to accomplish what I need to accomplish? Thanks!

Adam


More information about the Lognorm mailing list