You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Mongeol Heo <mo...@gmail.com> on 2014/10/31 05:36:44 UTC

about regex extractor

Hi,

I am trying to index access logs to elasticsearch by using elasticsearch
sink, which means I have to use regex extractor interceptor. So, I tested
my regular expression at http://www.regexplanet.com/advanced/java/index.html
and used it, but it is not work.
Here are my questions.
1. what kind of regex does flume use?
2. Is there a place to test it?
Thanks.

Best regards,

- Mungeol

Re: about regex extractor

Posted by Mongeol Heo <mo...@gmail.com>.
Please, excuse my question caused by my careless mistake.
It was java regex.

On Fri, Oct 31, 2014 at 1:36 PM, Mongeol Heo <mo...@gmail.com> wrote:

> Hi,
>
> I am trying to index access logs to elasticsearch by using elasticsearch
> sink, which means I have to use regex extractor interceptor. So, I tested
> my regular expression at
> http://www.regexplanet.com/advanced/java/index.html and used it, but it
> is not work.
> Here are my questions.
> 1. what kind of regex does flume use?
> 2. Is there a place to test it?
> Thanks.
>
> Best regards,
>
> - Mungeol
>