You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Shashikant Kulkarni (JIRA)" <ji...@apache.org> on 2015/12/08 09:31:10 UTC
[jira] [Updated] (FLUME-2851) Flume Source IgnorePattern multiple
regex
[ https://issues.apache.org/jira/browse/FLUME-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shashikant Kulkarni updated FLUME-2851:
---------------------------------------
Description:
As I understood from the documentation, I can specify the file pattern which will be ignored by the flume agent. But when I tried it then I found that I can specify only one file pattern which will be ignored. How can I specify the value so that multiple files can be ignore by agent. For example,
I have a spool directory in which I have 3 different log files
Abc.log
Pqr.log
Xyz.log
Now I need to configure the agent source in such a way that it just reads the file Abc.log and ignore Pqr.log and Xyz.log. So how do I specify this using
agent1.sources.source1.ignorePattern=
Please help me if I am missing on the correct regex for this. Is it a bug?
Thanks.
[~tomwhite]: Please help
was:
As I understood from the documentation, I can specify the file pattern which will be ignored by the flume agent. But when I tried it then I found that I can specify only one file pattern which will be ignored. How can I specify the value so that multiple files can be ignore by agent. For example,
I have a spool directory in which I have 3 different log files
Abc.log
Pqr.log
Xyz.log
Now I need to configure the agent source in such a way that it just reads the file Abc.log and ignore Pqr.log and Xyz.log. So how do I specify this using
agent1.sources.source1.ignorePattern=
Please help me if I am missing on the correct regex for this. Is it a bug?
Thanks.
> Flume Source IgnorePattern multiple regex
> -----------------------------------------
>
> Key: FLUME-2851
> URL: https://issues.apache.org/jira/browse/FLUME-2851
> Project: Flume
> Issue Type: Bug
> Reporter: Shashikant Kulkarni
>
> As I understood from the documentation, I can specify the file pattern which will be ignored by the flume agent. But when I tried it then I found that I can specify only one file pattern which will be ignored. How can I specify the value so that multiple files can be ignore by agent. For example,
> I have a spool directory in which I have 3 different log files
> Abc.log
> Pqr.log
> Xyz.log
> Now I need to configure the agent source in such a way that it just reads the file Abc.log and ignore Pqr.log and Xyz.log. So how do I specify this using
> agent1.sources.source1.ignorePattern=
> Please help me if I am missing on the correct regex for this. Is it a bug?
> Thanks.
> [~tomwhite]: Please help
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)