# Option to assign the timestamp automatically when post data without timestamp

**URL:** <https://discuss.elastic.co/t/option-to-assign-the-timestamp-automatically-when-post-data-without-timestamp/24201>\
**Category:** Elasticsearch\
**Created:** [June 23, 2015, 2:54pm UTC](https://discuss.elastic.co/t/option-to-assign-the-timestamp-automatically-when-post-data-without-timestamp/24201 "2015-06-23T14:54:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [June 23, 2015, 2:54pm UTC](https://discuss.elastic.co/t/option-to-assign-the-timestamp-automatically-when-post-data-without-timestamp/24201/1 "2015-06-23T14:54:39Z")

</div>

I'm trying to create index/type pattern in Elasticsearch to timestamp get automatically updated/appended/assign when I post the data without timestamp.

Means, it will automatically append the timestamp with each record based on ELS timezone. Is there any option available ?.

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [June 23, 2015, 3:04pm UTC](https://discuss.elastic.co/t/option-to-assign-the-timestamp-automatically-when-post-data-without-timestamp/24201/2 "2015-06-23T15:04:28Z")

</div>

Here, Updating my config,

Problem, here is when I go Kibana4 and trying to create a "Configure an index pattern" there is no at "Time-field name". So I'm unable to move further on this. Please someone help me on this.

{  
"mappings": {  
"_default_": {  
"\_timestamp": {  
"enabled": true,  
"store": true  
}  
},  
"myindex": {  
"properties": {  
"testtype": {  
"properties": {  
"data1": {  
"properties": {  
"data\_value": {  
"type": "string"  
},  
"client\_ip": {  
"type": "ip"  
}  
}  
}  
}  
}  
}  
}  
}  
}

---

<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:05am UTC](https://discuss.elastic.co/t/option-to-assign-the-timestamp-automatically-when-post-data-without-timestamp/24201/3 "2017-07-06T00:05:52Z")

</div>


