# Tools for "linting" mappings?

**URL:** <https://discuss.elastic.co/t/tools-for-linting-mappings/47410>\
**Category:** Elasticsearch\
**Created:** [April 14, 2016, 3:23pm UTC](https://discuss.elastic.co/t/tools-for-linting-mappings/47410 "2016-04-14T15:23:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Portante](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@Peter\_Portante](https://discuss.elastic.co/u/Peter_Portante)\
**Post date:** [April 14, 2016, 3:23pm UTC](https://discuss.elastic.co/t/tools-for-linting-mappings/47410/1 "2016-04-14T15:23:06Z")

</div>

Hi Folks,

We are playing with some document indexing without setting a mapping ahead of time as we are learning about a certain data set as we go.

Are there any tools out there that will take as input a mapping from ES and "lint" it for stuff like:

- field names with spaces, asterisks, and other non alpha-numeric characters
- nested documents with unique field names
- leading underscores in field names
- dots in fields names ahead of switching from 1.x to 2.x+

etc.

Thanks!

-peter

---

<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 5, 2017, 10:59pm UTC](https://discuss.elastic.co/t/tools-for-linting-mappings/47410/2 "2017-07-05T22:59:08Z")

</div>

Closed on July 5, 2017, 10:59pm UTC


