Analytics Properties

These properties determine the behavior of the internal NiFi predictive analytics capability, such as backpressure prediction, and should be configured the same way on all nodes.

Property

Description

nifi.analytics.predict.enabled

This indicates whether prediction should be enabled for the cluster. The default is false.

nifi.analytics.predict.interval

The time interval for which analytical predictions (e.g. queue saturation) should be made. The default value is 3 mins.

nifi.analytics.query.interval

The time interval to query for past observations (e.g. the last 3 minutes of snapshots). The default value is 5 mins. NOTE: This value should be at least 3 times greater than nifi.components.status.snapshot.frequency to ensure enough observations are retrieved for predictions.

nifi.analytics.connection.model.implementation

The implementation class for the status analytics model used to make connection predictions. The default value is org.apache.nifi.controller.status.analytics.models.OrdinaryLeastSquares.

nifi.analytics.connection.model.score.name

The name of the scoring type that should be used to evaluate the model. The default value is rSquared.

nifi.analytics.connection.model.score.threshold

The threshold for the scoring value (where model score should be above given threshold). The default value is .90.