# Kibana MAP stopt working without making chances expect new input

**URL:** https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220
**Category:** Logstash
**Created:** [November 27, 2017, 12:59pm UTC](https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220 "2017-11-27T12:59:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bobwilly](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@bobwilly](https://discuss.elastic.co/u/bobwilly)
#### Post date: [November 27, 2017, 12:59pm UTC](https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220/1 "2017-11-27T12:59:33Z")

</div>

For some reason my geo.ip.location stopt working. I tryed to reindex my data but the field is gone.  
I have not made any changes in the last days.

Starting logstash output:

> [2017-11-27T13:47:01,091][INFO][logstash.outputs.elasticsearch] Using mapping template from {:path=\>nil}  
> [2017-11-27T13:47:01,120][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"template"=\>"logstash-_", "version"=\>50001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"default"=\>{"\_all"=\>{"enabled"=\>true, "norms"=\>false}, "dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword", "ignore\_above"=\>256}}}}}], "properties"=\>{"@timestamp"=\>{"type"=\>"date", "include\_in\_all"=\>false}, "@version"=\>{"type"=\>"keyword", "include\_in\_all"=\>false}, "geoip"=\>{"dynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_float"}, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}

Mapping output:

> get /\_template/gmailheaderscsv  
> {  
> "gmailheaderscsv": {  
> "order": 0,  
> "template": "csv\*",  
> "settings": {},  
> "mappings": {  
> "_default_": {  
> "dynamic\_templates": [  
> {  
> "location\_fields": {  
> "mapping": {  
> "type": "geo\_point"  
> },  
> "match": "location"  
> }  
> }  
> ]  
> }  
> },  
> "aliases": {}  
> }  
> }

My IP information is stil working and I stil have to following fields:

> geoip.city\_name  
> geoip.continent\_code  
> geoip.country\_code2  
> geoip.country\_code3  
> geoip.country\_name  
> geoip.dma\_code  
> geoip.ip  
> geoip.latitude  
> geoip.location.lat  
> geoip.location.lon  
> geoip.longitude  
> geoip.postal\_code  
> geoip.region\_code  
> geoip.region\_name  
> geoip.timezone

When trying to create a new map visualization I get the following error message:

> No Compatible Fields: The "gmailheaderscsv" index pattern does not contain any of the following field types: geo\_point

I am lost and not sure where to look or troubleshoot. Could someone help me and give me some  
tips or directions where I could/should look?  
My map stopt displaying IP locations so I deleted the index with delete gmailheaderscsv and now it cant find geo\_point anymore.

---

<div class="post-metadata">

### Author: ![MikeC0](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@MikeC0](https://discuss.elastic.co/u/MikeC0)
#### Post date: [November 28, 2017, 7:11am UTC](https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220/2 "2017-11-28T07:11:01Z")

</div>

Is the definition for /\_template/gmailheaderscsv correct? It looks like it has problem to find the geo\_point location from GeoIP.

---

<div class="post-metadata">

### Author: ![bobwilly](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@bobwilly](https://discuss.elastic.co/u/bobwilly)
#### Post date: [November 28, 2017, 7:54am UTC](https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220/3 "2017-11-28T07:54:23Z")

</div>

> [@MikeC0](#):
>
> /\_template/gmailheaderscsv

I'm not sure, it looks fine to me. Atleast it did work with this template before ahaha.  
Thanks for your response.  
{  
"gmailheaderscsv": {  
"order": 0,  
"template": "csv\*",  
"settings": {},  
"mappings": {  
"_default_": {  
"dynamic\_templates": [  
{  
"location\_fields": {  
"mapping": {  
"type": "geo\_point"  
},  
"match": "location"  
}  
}  
]  
}  
},  
"aliases": {}  
}  
}

---

<div class="post-metadata">

### Author: ![MikeC0](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@MikeC0](https://discuss.elastic.co/u/MikeC0)
#### Post date: [December 1, 2017, 2:27am UTC](https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220/4 "2017-12-01T02:27:02Z")

</div>

If the definition is correct, then I could not see any other issues from the error message.

I found out that there is another IP2Location filter that could provides geolocation information by IP address using Logstash.

> **[How to use IP2Location filter plugin with Elastic Stack](https://www.ip2location.com/tutorials/how-to-use-ip2location-filter-plugin-with-elastic-stack)**
>
> This tutorial shows you on how to use IP2Location filter plugin with Elastic Stack (Elasticsearch, Filebeat, Logstash, and Kibana)

You can consider this alternative if the issue persists. I hope I could be more helpful.

---

<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: [December 29, 2017, 2:27am UTC](https://discuss.elastic.co/t/kibana-map-stopt-working-without-making-chances-expect-new-input/109220/5 "2017-12-29T02:27:04Z")

</div>

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