[
https://issues.apache.org/jira/browse/NIFI-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15485000#comment-15485000
]
ASF GitHub Bot commented on NIFI-1971:
--------------------------------------
Github user pvillard31 commented on the issue:
https://github.com/apache/nifi/pull/858
That's a detail, but regarding your last fix, I have now the following
result:
````
--------------------------------------------------
Standard FlowFile Attributes
Key: 'entryDate'
Value: 'Mon Sep 12 21:05:00 CEST 2016'
Key: 'lineageStartDate'
Value: 'Mon Sep 12 21:05:00 CEST 2016'
Key: 'fileSize'
Value: '0'
FlowFile Attribute Map Content
Key: 'enrich.whois.record0.group0'
Value: '9394 | 123.69.0.0/16 | CTTNET | CN | chinatietong.com | China
Tietong Telecommunications Corporation
'
Key: 'filename'
Value: '2645792035303317'
Key: 'path'
Value: './'
Key: 'src.ip'
Value: '123.69.123.40'
Key: 'uuid'
Value: '25d3744c-b5d4-4147-9cc5-47f4f47ff046'
--------------------------------------------------
````
I'd try to remove the unnecessary carriage return at the end of the value.
> Create a batch capable pseudo-whois ("netcat") enrichment Processor
> -------------------------------------------------------------------
>
> Key: NIFI-1971
> URL: https://issues.apache.org/jira/browse/NIFI-1971
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.0.0, 0.7.0
> Reporter: Andre
> Assignee: Andre
> Fix For: 1.1.0
>
>
> While the QueryDNS created can be used on low to medium volume enrichment and
> to licensed DNS based lookups (e.g. commercial use of SpamHaus) many
> enrichment providers prefer the use of bulk queries using pseudo whois API
> (a.k.a. netcat interface).
> as documented
> [here|https://www.shadowserver.org/wiki/pmwiki.php/Services/IP-BGP#toc6] the
> bulk interfaces work by connecting to port 43/TCP and sending a payload like:
> {code}
> begin origin
> 4.5.4.3
> 17.112.152.32
> 208.77.188.166
> end
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)