[Lognorm] Tokenized-multivalue field-type for liblognorm
David Lang
david at lang.hm
Fri Oct 31 10:53:42 CET 2014
On Fri, 31 Oct 2014, singh.janmejay wrote:
> Tokenizer followed by tokenizer is something that I have in mind too. But I
> promised myself that i'd write a test for that instead of testing it
> manually :-). Will add that patch on this thread once I get a chance to
> work on it.
At least in the short term, you can use the ability to call mmnormalize on a
variable to parse subvariables.
How are the resulting fields addressed? Rsyslog hasn't had array addressing yet.
David Lang
> However, since you are asking about those kind of forms, let met discuss
> something else that I was thinking about.
>
> The idea is to have another field type called recurse.
>
> Similar to how tokenized uses a ctx to parse matching text, recurse will
> parse it using the current context. AFAIK, the context is stateless, so I
> don't see any problems with that. I also plan to support tag based picking
> of which rules the text may match, and if it matches something else, it
> should be considered no-match.
>
> Instead of typing it out here, i'll attach a picture I took after thinking
> through it briefly(i'll attach it to the next mail).
>
>
-------------- next part --------------
_______________________________________________
Lognorm mailing list
Lognorm at lists.adiscon.com
http://lists.adiscon.net/mailman/listinfo/lognorm
More information about the Lognorm
mailing list