RecordReaderFactory
Implementations: CSVReader
JsonPathReader
AvroReader
CEFReader
Syslog5424Reader
JsonTreeReader
WindowsEventLogReader
XMLReader
SyslogReader
JASN1Reader
ReaderLookup
ParquetReader
GrokReader
ScriptedReader
YamlTreeReader
ExcelReader
Supports Sensitive Dynamic Properties: No
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|---|---|
A description of the field to remove | A RecordPath to the field to be removed. | Any field that matches the RecordPath set as the value will be removed. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) |
Name | Description |
---|---|
failure | If a FlowFile cannot be transformed from the configured input format to the configured output format, the unchanged FlowFile will be routed to this relationship |
success | FlowFiles that are successfully transformed will be routed to this relationship |
Name | Description |
---|---|
record.error.message | This attribute provides on failure the error message encountered by the Reader or Writer. |
Remove one or more fields from a Record, where the names of the fields to remove are known.
Configure the Record Reader according to the incoming data format.
Configure the Record Writer according to the desired output format.
For each field that you want to remove, add a single new property to the Processor.
The name of the property can be anything but it's recommended to use a brief description of the field.
The value of the property is a RecordPath that matches the field to remove.
For example, to remove the name
and email
fields, add two Properties:
name
= /name
email
= /email