>> Looks like what you want is more like a global configuration, and based
>> on my limited knowledge in Apache Flume, it is missing now.
>>
>> BR,
>>
>> Shang
>>
>> *From: *Roberto Coluccio
>> *Reply-To: *"user@flume.apache.org"
&
.it>>
*Reply-To: *"user@flume.apache.org <mailto:user@flume.apache.org>"
mailto:user@flume.apache.org>>
*Date: *Thursday, December 1, 2016 at 2:59 AM
*To: *"user@flume.apache.org <mailto:user@flume.apache.org>"
mailto:user@flume.apache.o
lobal configuration, and based on
> my limited knowledge in Apache Flume, it is missing now.
>
> BR,
>
> Shang
>
> *From: *Roberto Coluccio
> *Reply-To: *"user@flume.apache.org"
> *Date: *Thursday, December 1, 2016 at 2:59 AM
> *To: *"user@flume.apache.org&
g"
Subject: Re: Define and leverage custom constants in agent configuration
Hi Silvio,
thanks for your suggestion. It gives me a workaround, but it's not exactly what
I was hoping/asking about.
I'm going to assume what I'd want to do being just not doable.
Thank you,
Robe
Hi Silvio,
thanks for your suggestion. It gives me a workaround, but it's not
exactly what I was hoping/asking about.
I'm going to assume what I'd want to do being just not doable.
Thank you,
Roberto
On 29/11/2016 09:26, Silvio Di gregorio wrote:
with the "static interceptor" you can add k
with the "static interceptor" you can add key/value pairs in your flume
event header:
agentOne.sources.s1.interceptors = interOne
agentOne.sources.s1.interceptors.interOne.type = static
agentOne.sources.s1.interceptors.interOne.key = costante
agentOne.sources.s1.interceptors.interOne.value = quell