# Field name contains dots

**URL:** <https://discuss.elastic.co/t/field-name-contains-dots/164898>\
**Category:** Elasticsearch\
**Created:** [January 19, 2019, 3:00pm UTC](https://discuss.elastic.co/t/field-name-contains-dots/164898 "2019-01-19T15:00:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kunliu](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kunliu](https://discuss.elastic.co/u/kunliu)\
**Post date:** [January 19, 2019, 3:00pm UTC](https://discuss.elastic.co/t/field-name-contains-dots/164898/1 "2019-01-19T15:00:59Z")

</div>

Hi Team,

When put the mappings in Index, we have some field name that contains dots, for example: Server.users.

```
PUT my_index
{
  "mappings": {
    "_doc": {
      "properties": {
        "Server.users": {
          "type": "text"
        }
      }
    }
  }
}

```

I got the mappings as below. The question is that is there a way the keep the 'Server.users' as the field name ?

```
"my_index" : {
    "aliases" : { },
    "mappings" : {
      "_doc" : {
        "properties" : {
          "Server" : {
            "properties" : {
              "users" : {
                "type" : "text"
              }
            }
          }
        }
      }
    },
```

---

<div class="post-metadata">

**Author:** ![huanggze](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/huanggze/32/49405_2.png) [@huanggze](https://discuss.elastic.co/u/huanggze)\
**Post date:** [January 28, 2019, 11:30am UTC](https://discuss.elastic.co/t/field-name-contains-dots/164898/2 "2019-01-28T11:30:27Z")

</div>

I have the same issue, I guess so far there is no support for field name with dot. ES just interpret dotted field as a nested json object. And we just cannot disable this transformation 😢

---

<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:** [February 25, 2019, 11:34am UTC](https://discuss.elastic.co/t/field-name-contains-dots/164898/3 "2019-02-25T11:34:50Z")

</div>

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