nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhukar Thota <madhukar.th...@gmail.com>
Subject Re: Log4j/logback parser via syslog
Date Fri, 12 Feb 2016 15:48:12 GMT
Thanks Bryan. I will look into ExtractText processor.

Do you know what scripting languages are supported with new processors?

-Madhu

On Fri, Feb 12, 2016 at 9:27 AM, Bryan Bende <bbende@gmail.com> wrote:

> Hello,
>
> Currently there are no built in processors to parse log formats, but have
> you taken a look at the ExtractText processor [1]?
>
> If you can come up with a regular expression for whatever you are trying
> to extract, then you should be able to use ExtractText.
>
> Other options...
>
> You could write a custom processor, but this sounds like it might be
> overkill for your scenario.
> In the next release (hopefully out in a few days) there will be two new
> processors that support scripting languages. It may be easier to use a
> scripting language to manipulate/parse the text.
>
> Thanks,
>
> Bryan
>
> [1]
> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ExtractText/index.html
>
>
> On Fri, Feb 12, 2016 at 12:16 AM, Madhukar Thota <madhukar.thota@gmail.com
> > wrote:
>
>> Hi
>>
>> I am very new to Apache Nifi and just started learning about how to use
>> it.
>>
>> We have a requirement where we need to parse log4j/logback pattern
>> messages coming from SyslogAppenders via Syslog udp. I can read the
>> standard syslog messages, but how can i further extract log4j/logback
>> messages  from syslog body.
>>
>> Is there any log parsers( log4j/logback/Apache access log format)
>> available in apache nifi?
>>
>>
>> Any help on this much appreciated.
>>
>> Thanks in Advance.
>>
>>
>

Mime
View raw message