[ 
https://issues.apache.org/jira/browse/NIFI-12230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17775750#comment-17775750
 ] 

Michael W Moser commented on NIFI-12230:
----------------------------------------

Recommendation from Apache NiFi #general Slack channel is to change the log 
level from WARN to INFO for this message:

[https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java#L139]
  "Failure while trying to find enrichment data"

This will remove the bulletin in default configurations of GeoEnrichIP.

> GeoEnrichIP shouldn't produce a message when an IP is not found
> ---------------------------------------------------------------
>
>                 Key: NIFI-12230
>                 URL: https://issues.apache.org/jira/browse/NIFI-12230
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Didier B.
>            Priority: Major
>
> GeoEnrichIP is a processor that convert an IP (found in the flowfile 
> attribute) to a geolocation information that it put in attributes. To do so 
> it requires a database file.
> In many environments, it's normal to have IP not found in the database 
> (internal IP, unknown IP, and so on). This is an information that concern the 
> rest of the workflow if needed.
> The problem here is that for every IP not found, GeoEnrichIP make a log warn 
> call which imply that a bulletin is emitted. This bulletin will trigger the 
> red box (upper right corner of the processor) up to the root flowgraph, 
> warning everyone working on the flowgraph that there is a problem, which is 
> not and will also emit a log that will flood the log system.
> *When an IP is not found, routing to failure is enough. No bulletin should be 
> emitted. Not finding an IP is normal and can happen several times per second.*



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

Reply via email to