# Logstash jdbc input - ES index template not respected

**URL:** <https://discuss.elastic.co/t/logstash-jdbc-input-es-index-template-not-respected/46796>\
**Category:** Logstash\
**Created:** [April 8, 2016, 11:20am UTC](https://discuss.elastic.co/t/logstash-jdbc-input-es-index-template-not-respected/46796 "2016-04-08T11:20:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chandan\_PR](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@Chandan\_PR](https://discuss.elastic.co/u/Chandan_PR)\
**Post date:** [April 8, 2016, 11:20am UTC](https://discuss.elastic.co/t/logstash-jdbc-input-es-index-template-not-respected/46796/1 "2016-04-08T11:20:58Z")

</div>

Hi Guys,

With logstash 2.3.1 jdbc input plugin, the column names in the result are converted to lowercase.

For e.g - column callDistributorTimeOfCall was appearing same in logstash-2.1.1 where as with logstash-2.3.1 it appears as calldistributortimeofcall.

This is resulting in unnecessary extra fields, apart from the ones defined in index template, and the reporting is going for a toss.

Also when I reconfigured the whole stuff, by converting the ES index fields to lower case, the field types and other parameters like "index": "not\_analyzed" are not respected.

Any one has experienced this problem?

Regards,  
Chandan

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 9, 2016, 7:21am UTC](https://discuss.elastic.co/t/logstash-jdbc-input-es-index-template-not-respected/46796/2 "2016-04-09T07:21:54Z")

</div>

Sounds like you have a mapping/template issue. What did you setup for that in ES?

---

<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:** [July 6, 2017, 5:03am UTC](https://discuss.elastic.co/t/logstash-jdbc-input-es-index-template-not-respected/46796/3 "2017-07-06T05:03:04Z")

</div>


