Should something like this work?

{"type":"@apache"},
    {"type":"alternative","parser":[
        {},
        {
            {"type":"whitespace"},
            ...
        }
    ]}


El 07/12/16 a las 11:08, Rainer Gerhards escribió:
2016-12-07 10:38 GMT+01:00 mosto...@gmail.com <mosto...@gmail.com>:

In this case, I seem to remember that number is defined as being
followed
by a space, so you can't use it if the number is followed by a newline.
I'll have to confirm that...but may I know why? Should I fill an issue
if
it's indeed that way?
I think it's a problem, several of the types require a space at the end,
and
I think they should all be modified to allow either a space or a
end-of-line.
ack. It's on my list for early next year.
May I create an issue somewhere?
better check if one exists, I also think David created one. This is
for the liblognorm project.

* A or B (doc states it does)
* A or nothing (that was my real question)
I'm not sure if you can have a blank item on one branch or not. If not,
can
you have the branches both include a required item? (either the one
before
or the one after)
I *think* (but do not know for sure) this might work. Else I'll add
early next year as well. Conceptionally, it really is alternative with
a void branch.
Once I get an "alternative" working, I'll try to have an empty branch. If it
doesn't work, I'll open an issue :)
I think there also already one exists, from Radu.

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to