You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Sri Ramya <ra...@gmail.com> on 2013/02/01 19:01:30 UTC
Unable to add event header key as require by cassandra onfly
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