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 <[email protected]> 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 <[email protected] > > 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. >> >> >
