# Problem with conversion (logstash & kibana)

**URL:** <https://discuss.elastic.co/t/problem-with-conversion-logstash-kibana/47092>\
**Category:** Kibana\
**Created:** [April 12, 2016, 8:57am UTC](https://discuss.elastic.co/t/problem-with-conversion-logstash-kibana/47092 "2016-04-12T08:57:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oth1113](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@oth1113](https://discuss.elastic.co/u/oth1113)\
**Post date:** [April 12, 2016, 8:57am UTC](https://discuss.elastic.co/t/problem-with-conversion-logstash-kibana/47092/1 "2016-04-12T08:57:49Z")

</div>

Hello everybody ,  
I try to convert a field "tmp\_reponse" in integer in the file "conf" with logstash as follows  
mutate {  
convert =\> {"TMP\_REPONSE" =\> "integer"}  
}

,but on Kibana it shows me that he is still string. I do not understand how I can make a convertion to use my fields "tmp\_response" to use it like as a metric fields on kibana

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/2fa11b7f1372a21ce16aa236a6e7188f6b49752b.PNG)

thank you help me please and if there is anyone who can explain to me how I can master the metrics on Kibana and use fields as being of metrics fields

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [April 12, 2016, 5:17pm UTC](https://discuss.elastic.co/t/problem-with-conversion-logstash-kibana/47092/2 "2016-04-12T17:17:57Z")

</div>

In the actual Elasticsearch mapping, is it mapped as a string or an integer? If it is mapped as an integer, have you tried refreshing your field mappings in Kibana?

---

<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, 1:56pm UTC](https://discuss.elastic.co/t/problem-with-conversion-logstash-kibana/47092/3 "2017-07-06T13:56:17Z")

</div>


