Peter Kimberley created NIFI-14211:
--------------------------------------

             Summary: CEFReader controller service fails to parse large fsize 
and oldFileSize values
                 Key: NIFI-14211
                 URL: https://issues.apache.org/jira/browse/NIFI-14211
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 2.1.0
            Reporter: Peter Kimberley


The {{CEFReader }}controller service in NiFi 2.1.0 has issues dealing with CEF 
field values for {{fsize}} and {{oldFileSize }}larger than a 32-bit integer. 
The UI reports this as a number format exception when attempting to parse a 
FlowFile record using a {{CEFReader}} service.

I've traced this problem down to the ParCEFone dependency and filed a PR: 
[https://github.com/fluenda/ParCEFone/issues/48.]

That repo doesn't seem to be regularly maintained however. If any of the NiFi 
devs have maintainer rights to it, please review the issue and PR in order to 
resolve this issue at the source.

I'm happy to work up a NiFi PR once the ParCEFone PR is merged and release 
pushed to Maven. I've added a helper method in the ParCEFone API to simplify 
CEF field type detection in NiFi: 
https://github.com/fluenda/ParCEFone/pull/49/commits/3f5672289145ed57cba25ee1d0c42ad708fbff90#diff-365d03103dd79170f0a1336c566d1e307478737b26a7f317fed83afaf62195a9R72



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to