# Field created as float still shows as string in kibana Settings

**URL:** <https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060>\
**Category:** Logstash\
**Created:** [August 2, 2016, 11:00pm UTC](https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060 "2016-08-02T23:00:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoplex](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zoplex](https://discuss.elastic.co/u/zoplex)\
**Post date:** [August 2, 2016, 11:00pm UTC](https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060/1 "2016-08-02T23:00:16Z")

</div>

HI,

I am creating field as float type on the fly in logstash:

```
    mutate {
        add_field => { "slowq_time" => {} }
        convert => { "slowq_time" => "float" }
    }
    grok {
        patterns_dir => ["/elk/logstash/confs/patterns"]
        match => { "message" => "%{GREEDYDATA:slowq_prestring} %{QUERYTIME:sub_subtype} %{BASE16FLOAT:slowq_time:float} %{GREEDYDATA:slowq_poststring}" }
        add_tag => ["slowq"]
    }

```

yet in kibana under settings, after refreshing, it still shows as string; I waited extra day after setting this up to get new index with no mixed types on this field (initially it was created as string).

What am I missing?

Thank you

---

<div class="post-metadata">

**Author:** ![vandana\_sethi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vandana_sethi/32/10894_2.png) [@vandana\_sethi](https://discuss.elastic.co/u/vandana_sethi)\
**Post date:** [August 3, 2016, 7:45am UTC](https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060/2 "2016-08-03T07:45:05Z")

</div>

have you restarted logstash ?

`service logstash restart`

---

<div class="post-metadata">

**Author:** ![zoplex](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zoplex](https://discuss.elastic.co/u/zoplex)\
**Post date:** [August 3, 2016, 3:25pm UTC](https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060/3 "2016-08-03T15:25:22Z")

</div>

Yes - couple of times .. there were other changes to the logstash filter. Also run the configuration check.

---

<div class="post-metadata">

**Author:** ![zoplex](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zoplex](https://discuss.elastic.co/u/zoplex)\
**Post date:** [August 3, 2016, 3:59pm UTC](https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060/4 "2016-08-03T15:59:28Z")

</div>

.. update - after two days - and after creating separate index pattern in kibana for the today's date only , the field now shows as number, while general index pattern shows conflict with mixed type message. So it took an extra day to show that the field has string and now is number. Technically that would close the case - still not sure why it took extra day.

---

<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, 4:45am UTC](https://discuss.elastic.co/t/field-created-as-float-still-shows-as-string-in-kibana-settings/57060/5 "2017-07-06T04:45:04Z")

</div>


