# Add timestamp filed in the \_source like a filed?

**URL:** https://discuss.elastic.co/t/add-timestamp-filed-in-the--source-like-a-filed/25862
**Category:** Elasticsearch
**Created:** [July 19, 2015, 7:32pm UTC](https://discuss.elastic.co/t/add-timestamp-filed-in-the--source-like-a-filed/25862 "2015-07-19T19:32:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Smasell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smasell/32/43483_2.png) [@Smasell](https://discuss.elastic.co/u/Smasell)
#### Post date: [July 19, 2015, 7:32pm UTC](https://discuss.elastic.co/t/add-timestamp-filed-in-the--source-like-a-filed/25862/1 "2015-07-19T19:32:38Z")

</div>

Can someone explain me, how I should write mapping creating my new index. For creating \_timestamp field in \_source. I've checked [https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-timestamp-field.html#\_path\_3](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-timestamp-field.html#_path_3) and still can't see \_timestamp field in the \_source.

---

<div class="post-metadata">

### Author: ![Stabaoc](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Stabaoc](https://discuss.elastic.co/u/Stabaoc)
#### Post date: [July 20, 2015, 2:34am UTC](https://discuss.elastic.co/t/add-timestamp-filed-in-the--source-like-a-filed/25862/2 "2015-07-20T02:34:41Z")

</div>

It's out of the \_source ,just like \_index.You can query the \_timestamp field,but in default it's not display in hits.

---

<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 6, 2017, 12:00am UTC](https://discuss.elastic.co/t/add-timestamp-filed-in-the--source-like-a-filed/25862/3 "2017-07-06T00:00:29Z")

</div>


