CalculateRecordStats 2.3.0

BUNDLE

org.apache.nifi | nifi-standard-nar

DESCRIPTION

Counts the number of Records in a record set, optionally counting the number of elements per category, where the categories are defined by user-defined properties.

TAGS

metrics, record, stats

INPUT REQUIREMENT

REQUIRED

Supports Sensitive Dynamic Properties

false

PROPERTIES

Property

Description

record-stats-limit

Limit the number of individual stats that are returned for each record path to the top N results.

record-stats-reader

A record reader to use for reading the records.

RELATIONSHIPS

NAME

DESCRIPTION

failure

If a FlowFile cannot be processed for any reason, it is routed to this Relationship.

success

All FlowFiles that are successfully processed, are routed to this Relationship.

WRITES ATTRIBUTES

NAME

DESCRIPTION

record.count

A count of the records in the record set in the FlowFile.

recordStats.<User Defined Property Name>.count

A count of the records that contain a value for the user defined property.

recordStats.<User Defined Property Name>.<value>.count

Each value discovered for the user defined property will have its own count attribute. Total number of top N value counts to be added is defined by the limit configuration.

Language: English