I have a patch up for review for an interceptor that will inject a Timestamp on 
your events: https://issues.apache.org/jira/browse/FLUME-1215 

Once that goes in I think that will take care of this use case.

Mike


On Tuesday, May 22, 2012 at 7:36 AM, alo alt wrote:

> Hi Guillaume,
> 
> the comm is working on:
> https://issues.apache.org/jira/browse/FLUME-1214
> https://issues.apache.org/jira/browse/FLUME-1157
> 
> cheers,
> Alex 
> 
> --
> Alexander Alten-Lorenz
> http://mapredit.blogspot.com
> German Hadoop LinkedIn Group: http://goo.gl/N8pCF
> 
> On May 22, 2012, at 4:13 PM, Guillaume Polaert wrote:
> 
> > Hi,
> > 
> > It's me again.
> > I have a question about event headers.
> > 
> > Are there generic headers for all event like timestamp or hostname ?
> > I'm using flune-ng like this : exec (iostat) -> memory -> avro+logger // 
> > avro -> memory -> rollingfile+logger on the same host. Headers are always 
> > empty.
> > [INFO - org.apache.flume.sink.LoggerSink.process(LoggerSink.java:68)] 
> > Event: { headers:{} body:[B@5421e554 }
> > 
> > How to set/use these headers ? Do I have to use a custom class ?
> > 
> > Thanks, GPO 

Reply via email to