# How to change @timestamp field in kibana with timestamp of my logs time

**URL:** https://discuss.elastic.co/t/how-to-change-timestamp-field-in-kibana-with-timestamp-of-my-logs-time/61476
**Category:** Logstash
**Created:** [September 26, 2016, 4:47am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-in-kibana-with-timestamp-of-my-logs-time/61476 "2016-09-26T04:47:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![arunmca18](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@arunmca18](https://discuss.elastic.co/u/arunmca18)
#### Post date: [September 26, 2016, 4:47am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-in-kibana-with-timestamp-of-my-logs-time/61476/1 "2016-09-26T04:47:35Z")

</div>

My Log sample is :

**2016-09-26 09:27:18,091** [[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'] AUDIT com.rockon.intranet.IRTD.resource.IRTDdoplanAPI - (Request\_Timestamp,2016-09-26 09:27:15.969 || Unique\_Identifier,rockon\_lunch\_9f4d3157-b410-4974-a202-dd26ed82f365 || Requester\_Id,backendAPI || Channel,intranet || Api\_Name,Fetch doplan API || ResponseTime,2122 || Transaction\_Status,Failure || ErrorCode,rockon\_intranet\_IRTD\_doplan\_EXCEPTION\_3615\_E || ErrorMessage,description:Error from the backend system. Please check the fault trace for details., trace:No Data Found || KeyResponseparameter,Not available || ApplicationName,lunch)

I Want time in logs i.e. 2016-09-26 09:27:18,091 to print in kibana at **@timestamp** field.

Kindly tell me how to write Date Filter for the same.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [September 26, 2016, 5:53am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-in-kibana-with-timestamp-of-my-logs-time/61476/2 "2016-09-26T05:53:27Z")

</div>

Use a grok filter to extract the timestamp into a field of its own, then use a date filter with the match pattern set to ISO8601 to parse the timestamp into the `@timestamp` field. Note that `@timestamp` is always UTC, so assuming you're in UTC+0530 the example above is going to result in 2016-09-26T03:57:18.091Z.

---

<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, 4:36am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-in-kibana-with-timestamp-of-my-logs-time/61476/3 "2017-07-06T04:36:58Z")

</div>


