flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sri Ramya <ramya.1...@gmail.com>
Subject Unable to add event header key as require by cassandra onfly
Date Fri, 01 Feb 2013 18:01:30 GMT
Hey Friends,

I've use the following to add event header key in flume config file but as
this is static header fix for all event. Can someone help to add event
header "key" onfly according to the flume event.
I also use
Regex Extractor Interceptor

but seems to be not working or i'm not able to do properly.

agent.sources.avrosource.interceptors = addKey

agent.sources.avrosource.interceptors.addKey.type = static
agent.sources.avrosource.interceptors.addKey.key = key
agent.sources.avrosource.interceptors.addKey.value = hello_world

View raw message