# \[Share\] On mapper \[geoip. location\] of different type, current\_type \[geo\_point\], merged\_type \[ObjectMapper\]the problem of processing

**URL:** <https://discuss.elastic.co/t/share-on-mapper-geoip-location-of-different-type-current-type-geo-point-merged-type-objectmapper-the-problem-of-processing/195512>\
**Category:** Logstash\
**Created:** [August 16, 2019, 2:27pm UTC](https://discuss.elastic.co/t/share-on-mapper-geoip-location-of-different-type-current-type-geo-point-merged-type-objectmapper-the-problem-of-processing/195512 "2019-08-16T14:27:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xudahuo](https://avatars.discourse-cdn.com/v4/letter/x/edb3f5/32.png) [@xudahuo](https://discuss.elastic.co/u/xudahuo)\
**Post date:** [August 16, 2019, 2:27pm UTC](https://discuss.elastic.co/t/share-on-mapper-geoip-location-of-different-type-current-type-geo-point-merged-type-objectmapper-the-problem-of-processing/195512/1 "2019-08-16T14:27:55Z")

</div>

Today, I use the geop module of logstash\_7.3 to write geographic information to elasticsearch, but I have been unable to write data.  
The logstash output:  
`mapper [geoip.location] of different type, current_type [Preformatted textgeo_point], merged_type [ObjectMapper]`  
And  
`Rejecting mapping update to [text_xx] as the final mapping would have more than 1 type: [_doc, nginx-log]`

Then investigate and find out that logstash's output -\> elasticsearch module is configured with document\_type =\> 'nginx-log' caused.  
Because my current elasticsearch cluster is 7.3, so comment out this configuration, then restart logstash, the data is normal.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 13, 2019, 2:27pm UTC](https://discuss.elastic.co/t/share-on-mapper-geoip-location-of-different-type-current-type-geo-point-merged-type-objectmapper-the-problem-of-processing/195512/2 "2019-09-13T14:27:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
