# Fields with a "dot" in them do not persist

**URL:** <https://discuss.elastic.co/t/fields-with-a-dot-in-them-do-not-persist/234965>\
**Category:** Kibana\
**Tags:** painless\
**Created:** [May 29, 2020, 5:52pm UTC](https://discuss.elastic.co/t/fields-with-a-dot-in-them-do-not-persist/234965 "2020-05-29T17:52:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![poff](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/poff/32/81795_2.png) [@poff](https://discuss.elastic.co/u/poff)\
**Post date:** [June 1, 2020, 7:24pm UTC](https://discuss.elastic.co/t/fields-with-a-dot-in-them-do-not-persist/234965/2 "2020-06-01T19:24:33Z")

</div>

Hey there jayson,

In your transform, instead of referring to the fields like `data._source['host.hostname']`, try referring to the fields like `data._source.host.hostname`

Does that still give null values?

---

_[View the full topic](https://discuss.elastic.co/t/fields-with-a-dot-in-them-do-not-persist/234965)._
