flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Israel Ekpo <isr...@aicer.org>
Subject Re: How to configure Regex in file names flume 1.3
Date Sat, 20 Jul 2013 20:46:24 GMT
Deepak,

The sample configuration you have looks valid

Try it out and let us know if you are experiencing any problems

More information on how to configure the Exec Source is available here.

http://flume.apache.org/FlumeUserGuide.html#exec-source


*Author and Instructor for the Upcoming Book and Lecture Series*
*Massive Log Data Aggregation, Processing, Searching and Visualization with
Open Source Software*
*http://massivelogdata.com*


On 19 July 2013 14:00, Kumar, Deepak8 <deepak8.kumar@citi.com> wrote:

>  Hi,****
>
> Could anyone please assist on this?****
>
> ** **
>
> Regards,****
>
> Deepak****
>
> ** **
>
> *From:* Kumar, Deepak8 [CCC-OT_IT NE]
> *Sent:* Monday, July 15, 2013 8:00 AM
> *To:* 'user@flume.apache.org'
> *Cc:* Kumar, Deepak8 [CCC-OT_IT NE]
> *Subject:* How to configure Regex in file names flume 1.3****
>
> ** **
>
> Hi,****
>
> I am using flume 1.3. Could we configure files names as regular
> expressions in flume-conf.properties.****
>
> ** **
>
> e.g.****
>
> agent.sources.source1.type = exec****
>
> agent.sources.source1.command = tail -F /var/log/flume-ng/template.log****
>
> agent.sources.source1.channels = fileChannel****
>
> agent.sources.source1.interceptors = logIntercept****
>
> ** **
>
> Could we have it something like this in flume 1.3****
>
> agent.sources.source1.command = tail -F /var/log/flume-ng/template.*****
>
> ** **
>
> Regards,****
>
> Deepak****
>

Mime
View raw message