# Kibana Maps not showing correct geo location

**URL:** <https://discuss.elastic.co/t/kibana-maps-not-showing-correct-geo-location/258306>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [December 10, 2020, 4:23pm UTC](https://discuss.elastic.co/t/kibana-maps-not-showing-correct-geo-location/258306 "2020-12-10T16:23:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boris\_Joseph](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boris_joseph/32/76499_2.png) [@Boris\_Joseph](https://discuss.elastic.co/u/Boris_Joseph)\
**Post date:** [December 10, 2020, 4:23pm UTC](https://discuss.elastic.co/t/kibana-maps-not-showing-correct-geo-location/258306/1 "2020-12-10T16:23:05Z")

</div>

Kibana maps don't seem to be locating geopoint correctly.  
Vietnam Singapore is shown in Africa and US in europe.  
Please advise what could be wrong.

 ![Kibana Maps Error](https://us1.discourse-cdn.com/elastic/original/3X/8/4/8428e92d7467878f7d67a72d31fd272031f1c857.jpeg)

**##############**  
**Logstash config**  
**##############**  
'_geoip{_

- 

```
        source => "webUserID"*

```

- 

```
        add_field => {*

```

- 

```
                                "[geoip][coordinates]" => "%{[geoip][latitude]},%{[geoip][latitude]}"*

```

- 

```
                                }*

```

- 

```
      }*'

```

**############**  
**Index template mapping**  
**############**  
'_{ "properties": { "geoip": { "properties": { "coordinates": { "type": "geo\_point" } } } } }_'

**###########**  
**Index mapping**  
**##########**  
'_properties": {_

- 

```
   "geoip": {*

```

- 

```
     "properties": { *

```

- 

```
       "coordinates": {*

```

- 

```
         "type": "geo_point"*

```

- 

```
       },*

```

- 

```
       "ip": {*

```

- 

```
         "type": "text",*

```

- 

```
         "fields": {*

```

- 

```
           "keyword": {*

```

- 

```
             "type": "keyword",*

```

- 

```
             "ignore_above": 256*

```

- 

```
           }*

```

- 

```
         }*

```

- 

```
       },*

```

- 

```
       "latitude": {*

```

- 

```
         "type": "float"*

```

- 

```
       },*

```

- 

```
      "longitude": {*

```

- 

```
         "type": "float"*

```

- 

```
       }*

```

- 

```
   },*

```

- 

```
   "webUserID": {*

```

- 

```
     "type": "text",*

```

- 

```
     "fields": {*

```

- 

```
       "keyword": {*

```

- 

```
         "type": "keyword",*

```

- 

```
         "ignore_above": 256*

```

- 

```
       }*

```

- 

```
     }*

```

- 

```
   }*'
```

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [December 10, 2020, 5:13pm UTC](https://discuss.elastic.co/t/kibana-maps-not-showing-correct-geo-location/258306/2 "2020-12-10T17:13:53Z")

</div>

> [@Boris\_Joseph](#):
>
> `"%{[geoip][latitude]},%{[geoip][latitude]}"`

Looks like your logstash config is using latitude twice!

---

<div class="post-metadata">

**Author:** ![Boris\_Joseph](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boris_joseph/32/76499_2.png) [@Boris\_Joseph](https://discuss.elastic.co/u/Boris_Joseph)\
**Post date:** [December 11, 2020, 3:01am UTC](https://discuss.elastic.co/t/kibana-maps-not-showing-correct-geo-location/258306/5 "2020-12-11T03:01:28Z")

</div>

Thanks!!  
Must have copy pasted for longitude and forgot the field name change.  
Will correct

---

<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:** [January 8, 2021, 3:01am UTC](https://discuss.elastic.co/t/kibana-maps-not-showing-correct-geo-location/258306/6 "2021-01-08T03:01:29Z")

</div>

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