Re: Define and leverage custom constants in agent configuration

2016-12-02 Thread Bessenyei Balázs Donát
>> 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" &

Re: Define and leverage custom constants in agent configuration

2016-12-02 Thread Roberto Coluccio
.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

Re: Define and leverage custom constants in agent configuration

2016-12-01 Thread Bessenyei Balázs Donát
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&

Re: Define and leverage custom constants in agent configuration

2016-12-01 Thread Shang Wu (CS)
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

Re: Define and leverage custom constants in agent configuration

2016-12-01 Thread Roberto Coluccio
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

Re: Define and leverage custom constants in agent configuration

2016-11-29 Thread Silvio Di gregorio
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