GrokReader 2.0.0

Bundle
org.apache.nifi | nifi-record-serialization-services-nar
Description
Provides a mechanism for reading unstructured text data, such as log files, and structuring the data so that it can be processed. The service is configured using Grok patterns. The service reads from a stream of data and splits each message that it finds into a separate Record, each containing the fields that are configured. If a line in the input does not match the expected message pattern, the line of text is either considered to be part of the previous message or is skipped, depending on the configuration, with the exception of stack traces. A stack trace that is found at the end of a log message is considered to be part of the previous message but is added to the 'stackTrace' field of the Record. If a record has no stack trace, it will have a NULL value for the stackTrace field (assuming that the schema does in fact include a stackTrace field of type String). Assuming that the schema includes a '_raw' field of type String, the raw message will be included in the Record.
Tags
grok, logfiles, logs, logstash, parse, pattern, reader, record, regex, text, unstructured
Input Requirement
Supports Sensitive Dynamic Properties
false
Properties
Restrictions
Required Permission Explanation
reference remote resources Patterns and Expressions can reference resources over HTTP