TsProcessor is a generic processor that can be configured to find the timestamp
in the text of a record. By default, this class expects that a record
starts with a date in this format:
yyyy-MM-dd HH:mm:ss,SSS
This format can be changed with the following configurations.
TsProcessor.default.time.format
- Changes the default time
format used by all data types.
TsProcessor.time.format.[some_data_type]
- Overrides the default
format for a specific data type.
If the time string is not at the beginning of the record you can configure a
regular expression to locate the timestamp text with either of the following
configurations. The text found in group 1 of the regular expression match
will be used with the configured date format.
TsProcessor.default.time.regex
- Changes the default time
location regex of the time text for all data types.
TsProcessor.time.regex.[some_data_type]
- Overrides the
default time location regex for a specific data type.