You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Bryan Bende <bb...@gmail.com> on 2017/02/15 14:45:08 UTC

Re: Sentry & NIFI

Hello,

Are you talking about sentry.io?

From Googling, it looks like they have logback support [1], and NiFi
uses logback for logging, so theoretically it could work.

You would have to add the raven-logback JAR and all of its transitive
dependencies to the lib directory of NiFi, and then configure an
appender in logback.xml as shown in the sentry docs.

This could be dangerous in that any JARs in the lib directory of NiFi
will impact all NARs. For example, raven has a dependency on
jackson-core-2.5.0.jar, so by putting that in the lib all NARs will
now see Jackson 2.5.0 before seeing the Jackson that might be bundled
in the NAR which will likely be problematic.

Thanks,

Bryan

[1] https://docs.sentry.io/clients/java/modules/logback/

On Wed, Feb 15, 2017 at 5:24 AM, Alessio Palma
<al...@docomodigital.com> wrote:
> Hello all,
>
>
> is there a simple way to connect nifi to sentry using the log appender
> facility?
>
>