# Dynamic Mapping for scaled float

**URL:** <https://discuss.elastic.co/t/dynamic-mapping-for-scaled-float/77537>\
**Category:** Elasticsearch\
**Created:** [March 6, 2017, 3:57pm UTC](https://discuss.elastic.co/t/dynamic-mapping-for-scaled-float/77537 "2017-03-06T15:57:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeriel20](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jeriel20](https://discuss.elastic.co/u/jeriel20)\
**Post date:** [March 6, 2017, 3:57pm UTC](https://discuss.elastic.co/t/dynamic-mapping-for-scaled-float/77537/1 "2017-03-06T15:57:31Z")

</div>

How do add a new mapping (dynamic?) to an existing index for a new field I am adding called "entropy". I need "entropy" to be a scaled float. I have tried the following and it did not work:  
`PUT _mapping/logstash { "properties": { "entropy": { "type": "scaled_float", "scaling_factor": 100 } } }`

---

<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 3, 2017, 3:57pm UTC](https://discuss.elastic.co/t/dynamic-mapping-for-scaled-float/77537/2 "2017-04-03T15:57:30Z")

</div>

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