# Til Map - failed to show locations in map, error: the database provided is invalid or corrupted

**URL:** https://discuss.elastic.co/t/til-map-failed-to-show-locations-in-map-error-the-database-provided-is-invalid-or-corrupted/99122
**Category:** Logstash
**Created:** [September 1, 2017, 12:03pm UTC](https://discuss.elastic.co/t/til-map-failed-to-show-locations-in-map-error-the-database-provided-is-invalid-or-corrupted/99122 "2017-09-01T12:03:15Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![ashleyl](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@ashleyl](https://discuss.elastic.co/u/ashleyl)
#### Post date: [September 8, 2017, 12:39pm UTC](https://discuss.elastic.co/t/til-map-failed-to-show-locations-in-map-error-the-database-provided-is-invalid-or-corrupted/99122/5 "2017-09-08T12:39:37Z")

</div>

I removed database, but still failed.

I found my symptom is the same as this:

> [@Index pattern does not contain any of the following field types: geo\_point](https://discuss.elastic.co/t/index-pattern-does-not-contain-any-of-the-following-field-types-geo-point/85001):
>
> I've got geoip fields with filter geoip in logstash. [image] But I can't visualize in kibana [image] How can I fix this? Any help will be appreciated.

But I still don't know how to change my location filed to geo-ip type.

I tried to apply template, but nothing happens.  
(Referred Source: [[elasticesearch] index pattern does not contain any of the following field types: geo\_point | by be:theproud | Medium](https://medium.com/@logan.81k/elasticesearch-index-pattern-does-not-contain-any-of-the-following-field-types-geo-point-34af9463502f))  
curl -XPUT '[http://localhost:9200/\_template/django](http://localhost:9200/_template/django)' -d@/etc/filebeat/filebeat.template.json  
{"acknowledged":true}

Could you please provide more clear information about how to change it?  
It seems many people hit this issue but don't have clear information.

Thanks,  
Ashley

---

_[View the full topic](https://discuss.elastic.co/t/til-map-failed-to-show-locations-in-map-error-the-database-provided-is-invalid-or-corrupted/99122)._
