NiFi Ingest 12.12

# Generate Error Reports

You can configure a connector to generate reports of errors. To do this, set the dynamic property adv:EnableReport to `TRUE`. This enables an output relationship named `report`. The connector can send FlowFiles, each reporting a single error, to this relationship.

The generated FlowFiles have the following attributes.

Name | Description
--- | ---
`idol.report.iserror` | A Boolean value (true or false) that indicates whether the FlowFile represents an error.
`idol.report.processorid` | The ID of the processor that generated the report.
`idol.report.message` | The message associated with the report, for example "INGESTION: Failed 1 documents".
`idol.report.param.*` | Additional keys and values from the report, if any.
`idol.report.property.*` | You can add additional fixed properties to the error reports that are generated by a connector. To do this, add dynamic properties to the connector processor. The names of these dynamic properties must start with `report:`. For example, if you add a dynamic property named `report:field1` then each error report FlowFile that is generated by the connector will have an attribute named `idol.report.property.field1`.

© Copyright 2018-2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL NiFi Ingest 12.12

Topic Title: Generate Error Reports