# Regarding automapping for json file

**URL:** <https://discuss.elastic.co/t/regarding-automapping-for-json-file/188109>\
**Category:** Logstash\
**Created:** [June 28, 2019, 10:07pm UTC](https://discuss.elastic.co/t/regarding-automapping-for-json-file/188109 "2019-06-28T22:07:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 28, 2019, 11:52pm UTC](https://discuss.elastic.co/t/regarding-automapping-for-json-file/188109/6 "2019-06-28T23:52:22Z")

</div>

[This](https://discuss.elastic.co/t/lowercase-all-fields-and-sub-fields/174438/2) might help you understand how to iterate over arbitrary event structures. It solves a different problem (making all keys and values lowercase) but making all values strings is similar enough for it to be useful.

---

_[View the full topic](https://discuss.elastic.co/t/regarding-automapping-for-json-file/188109)._
