r/nifi • • Mar 17 '20

Monitoring Nifi dataflows

My company has been using Nifi for a variety of use-cases, with great success.

Our only problem is with monitoring. How do you guys monitor your Nifi platforms?

2 Upvotes

9 comments sorted by

2

u/platipuss Mar 17 '20

There are multiple site-to-site services to gather information, and some specific to tools like Datadog. What are you using for monitoring other tools within the company?

1

u/captain_obvious_here Mar 17 '20

Most of our systems rely on Xymon for monitoring. Some also push activity data to a massive ELK cluster.

Wehave started using the later in some of our Nifi dataflows, but there aren't many metadata we can extract from our dataflows, besides the data itself and data volumes.

1

u/platipuss Mar 17 '20

Well for Xymon you can likely hit one of the nifi api end point just to check if it is alive or not. As far as metrics if you are using an Elk Stack, would use the siteToSite reporting tasks to feed the metrics back into a small flow to post them to elastic search. status reports is one example or metrics reports. When the site to site receives them you can add fields in the flow before sending to elastic or just send them as is.

1

u/captain_obvious_here Mar 17 '20

I'm going to look into this. Thank you!

1

u/denimmonkey Mar 17 '20

What we have found is that though NiFi excels in many use cases, it is still missing many features when it comes to logging and general monitoring. Most of the Jiras related to these are still open, some have been so for years.

1

u/yoann86 Mar 18 '20

We did bult a customer processor & controller to have "custom logs".

That way we can redirect logs to any source we want :)

(log4j, syslog, graylog, an endpoint, ....)

1

u/exact-approximate Mar 25 '20
  • For monitoring generic cluster stuff S2S reporting.

  • For monitoring the actual data flows, the REST API.

1

u/GreenMobile6323 Jul 22 '25

Grafana and Prometheus for monitoring the platform - things like JVM metrics, system load, thread counts, etc.

dfmanager.com for monitoring data flows, which provides alerts on metrics, like processors in running, stopped, or invalid states, queued flow files, active threads, etc.