# Logstash - template/index issue

**URL:** https://discuss.elastic.co/t/logstash-template-index-issue/67669
**Category:** Logstash
**Created:** [November 30, 2016, 7:23pm UTC](https://discuss.elastic.co/t/logstash-template-index-issue/67669 "2016-11-30T19:23:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gude.ravi](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gude.ravi](https://discuss.elastic.co/u/Gude.ravi)
#### Post date: [November 30, 2016, 7:23pm UTC](https://discuss.elastic.co/t/logstash-template-index-issue/67669/1 "2016-11-30T19:23:53Z")

</div>

Before loading my data, I checked that my index (securedapachelogs) or template ( sc\_apache\_template) in elasticsearch. both do not exist. Logstash is going to request that template/index were created on startup.  
Once the data was loaded ( no errors in logstash ), elasticsearch \_mapping for the index still shows location field type as float instead of geo\_point. I do see all the geo fields populated. Hence I am not able to use location field on tile chart. I need help on how I can force elasticsearch to use only the index template I have provided in logstash config file.  
I tried options template\_overwrite and managed\_template.

The following url has the template, conf file, sample log, grok pattern

[http://pastebin.com/7PqtJWtz](http://pastebin.com/7PqtJWtz)

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [December 5, 2016, 6:43am UTC](https://discuss.elastic.co/t/logstash-template-index-issue/67669/2 "2016-12-05T06:43:27Z")

</div>

What does the Logstash log say? Does it indicate that it's trying to post the index template? You may have to increase the logging verbosity.

---

<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 2, 2017, 6:43am UTC](https://discuss.elastic.co/t/logstash-template-index-issue/67669/3 "2017-01-02T06:43:35Z")

</div>

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