# Logstash-jdbc-input mapping issues \[bug \]

**URL:** <https://discuss.elastic.co/t/logstash-jdbc-input-mapping-issues-bug/26283>\
**Category:** Logstash\
**Created:** [July 25, 2015, 11:56am UTC](https://discuss.elastic.co/t/logstash-jdbc-input-mapping-issues-bug/26283 "2015-07-25T11:56:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 25, 2015, 1:07pm UTC](https://discuss.elastic.co/t/logstash-jdbc-input-mapping-issues-bug/26283/2 "2015-07-25T13:07:14Z")

</div>

Duplicate post:

> [@Logstash logstash-jdbc-input queries (mapping and type)](https://discuss.elastic.co/t/logstash-logstash-jdbc-input-queries-mapping-and-type/26224):
>
> hi , I have some queries about logstash-input-jdbc how to specify the type : lets us suppose I have already a mapping available for index . Lets say type is "mydata". If i talk about csv filter in Logstash it has the feature to specify the type =\> "mycsv", so that data will indexed on that type only. Is is not possible in case of jdbc plugin ? by default jdbc-input creates type "logs", if I am explicitly defining the type logs in index first and then trying to index the data using jdbc-inpu…

---

_[View the full topic](https://discuss.elastic.co/t/logstash-jdbc-input-mapping-issues-bug/26283)._
