Github user ottobackwards commented on the issue:

    https://github.com/apache/metron/pull/1099
  
    A mechanism for the routing process to apply a transform or some such. 
@cestella may have a better design idea.
    
    What I would like us to do is remove the transport from the message where 
there are common wrappers.
    
    Example:  All the message types delivered by syslog.   The parsers should 
not have to all parser syslog AND the message.  I imagine defining a 
transform/parser in the router that takes every message and transforms it ( 
parses syslog fields + structured data if 5424 into meta and MSG to the bytes ) 
and then passes it on to a parser that only needs to know the message.
    
    That way we can have simpler parsers, and even support the same message 
when transported in different wrappers.
    
    We can talk about if this is a function of parser chaining, such that each 
specialized parser will be second in a chain with the syslog unwrapped being 
first, or part of routing, but I think it is part of routing personally.



---

Reply via email to