# Why is my timefield entry and @timestamp are different?

**URL:** <https://discuss.elastic.co/t/why-is-my-timefield-entry-and-timestamp-are-different/85741>\
**Category:** Logstash\
**Created:** [May 15, 2017, 10:38am UTC](https://discuss.elastic.co/t/why-is-my-timefield-entry-and-timestamp-are-different/85741 "2017-05-15T10:38:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [May 15, 2017, 10:38am UTC](https://discuss.elastic.co/t/why-is-my-timefield-entry-and-timestamp-are-different/85741/1 "2017-05-15T10:38:40Z")

</div>

Hi, I have a timefield in log entry and I have targetted it to `@timestamp` in Logstash, but they appear different. For example;

```
time entry in log => 2017-05-15T10:14:58.992Z
@timestamp => 2017-05-15T10:30:56.015Z

```

below is my date filter;

```
date {
	match => ["timestamp", "dd-MM-yyyy HH:mm:ss.SSS aa"]
	timezone => "UTC"
	target => "@timestamp"
}

```

Somebody kindly help me to fix this. Thank in advance.

---

<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:** [May 15, 2017, 1:49pm UTC](https://discuss.elastic.co/t/why-is-my-timefield-entry-and-timestamp-are-different/85741/2 "2017-05-15T13:49:16Z")

</div>

The pattern in your date filter clearly doesn't match what seems to be in your `timestamp` filter. You should be able to use the "ISO8601" pattern here.

---

<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:** [June 12, 2017, 1:54pm UTC](https://discuss.elastic.co/t/why-is-my-timefield-entry-and-timestamp-are-different/85741/3 "2017-06-12T13:54:43Z")

</div>

Closed on June 12, 2017, 1:54pm UTC

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