'Nifi put Geoip to Elasticsearch
I have a JSON
{
"ipaddress" : "92.63.197.86",
"syslog.sender" : "10.10.10.1",
"ipaddress.geo.lookup.micros" : "16240",
"mime.type" : "application/json",
"ipaddress.geo.longitude" : "37.6068",
"uuid" : "24300490-2676-4b9c-8838-7f6ee2567a97",
"ipaddress.geo.country" : "Russia",
"syslog.protocol" : "UDP",
"ipaddress.accuracy" : "1000",
"path" : "./",
"filename" : "24300490-2676-4b9c-8838-7f6ee2567a97",
"name" : "Corp01 input",
"syslog.port" : "2514",
"ipaddress.geo.country.isocode" : "RU",
"ipaddress.geo.latitude" : "55.7386"
}
When i want PutElasticsearchHttp
and I get an error
PutElasticsearchHttp[id=441efd2b-017f-1000-fc76-fa64b799e680] Failed to process StandardFlowFileRecord[uuid=7418835e-8a90-4607-a2ec-8372c3b8a2c6,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1646495020360-551, container=default, section=551], offset=845802, length=488],offset=0,name=7418835e-8a90-4607-a2ec-8372c3b8a2c6,size=488] due to can't merge a non object mapping [ipaddress] with an object mapping, transferring to failure
What is wrong? how to solve it
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

