flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prajakta Bavikar <Prajakta_Bavi...@persistent.co.in>
Subject how to use interceptor
Date Wed, 12 Sep 2012 15:17:23 GMT
I am new user of flume.
Please let me know this
I have included following lines, but getting error : not able to initialize HostInterceptor$Builder

agent1.sources.avro-source1.interceptors =a  b
agent1.sources.avro-source1.interceptors.a.type = org.apache.flume.interceptor.HostInterceptor$Builder
agent1.sources.avro-source1.interceptors.a.hostHeader = hostname
agent1.sources.avro-source1.interceptors.a.preserveExisting = true
agent1.sources.avro-source1.interceptors.a.useIP = false
agent1.sources.avro-source1.interceptors.b.type = org.apache.flume.interceptor.TimestampInterceptor
agent1.sources.avro-source1.interceptors.b.preserveExisting = false


This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

View raw message