-Unable to add event header key as require by cassandra onfly
Sri Ramya 2013-02-01, 18:01
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