CalculateRecordStats 2.0.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
Dynamic Properties
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.