# What are list of data types that we have to mutate in the pipeline config file..so far I know "Integer" and "float"

**URL:** <https://discuss.elastic.co/t/what-are-list-of-data-types-that-we-have-to-mutate-in-the-pipeline-config-file-so-far-i-know-integer-and-float/123655>\
**Category:** Logstash\
**Created:** [March 13, 2018, 12:25am UTC](https://discuss.elastic.co/t/what-are-list-of-data-types-that-we-have-to-mutate-in-the-pipeline-config-file-so-far-i-know-integer-and-float/123655 "2018-03-13T00:25:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_smith](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jason\_smith](https://discuss.elastic.co/u/jason_smith)\
**Post date:** [March 13, 2018, 12:25am UTC](https://discuss.elastic.co/t/what-are-list-of-data-types-that-we-have-to-mutate-in-the-pipeline-config-file-so-far-i-know-integer-and-float/123655/1 "2018-03-13T00:25:26Z")

</div>

Hello good folks,

When I tried with mutate{convert=\>["has-expired","bool"]}, it didn't like.

So far I was able to mutate only integer and float.

```
          		mutate{convert=>["mileage","integer"]}
                 mutate{convert=>["price_eur","float"]}

```

Thank You

---

<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:** [March 13, 2018, 6:51am UTC](https://discuss.elastic.co/t/what-are-list-of-data-types-that-we-have-to-mutate-in-the-pipeline-config-file-so-far-i-know-integer-and-float/123655/2 "2018-03-13T06:51:06Z")

</div>

The documentation clearly states which conversion types are allowed. "bool" is not one of them but "boolean" is.

---

<div class="post-metadata">

**Author:** ![jason\_smith](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jason\_smith](https://discuss.elastic.co/u/jason_smith)\
**Post date:** [March 13, 2018, 3:15pm UTC](https://discuss.elastic.co/t/what-are-list-of-data-types-that-we-have-to-mutate-in-the-pipeline-config-file-so-far-i-know-integer-and-float/123655/3 "2018-03-13T15:15:53Z")

</div>

Thank You Magnusbaeck.

---

<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:** [April 10, 2018, 3:16pm UTC](https://discuss.elastic.co/t/what-are-list-of-data-types-that-we-have-to-mutate-in-the-pipeline-config-file-so-far-i-know-integer-and-float/123655/4 "2018-04-10T15:16:27Z")

</div>

Closed on April 10, 2018, 3:16pm UTC

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