# Logstash @timestamp field wrong?

**URL:** <https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627>\
**Category:** Logstash\
**Created:** [April 28, 2016, 5:53am UTC](https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627 "2016-04-28T05:53:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefansaye](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@stefansaye](https://discuss.elastic.co/u/stefansaye)\
**Post date:** [April 28, 2016, 5:53am UTC](https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627/1 "2016-04-28T05:53:18Z")

</div>

when i using syslog plugin to run logstash with my configuration ,  
get the wrong @timestamp ,  
it's show 2000 ???

```
 "@timestamp" => "2000-04-28T08:08:24.000Z"

```

Any help here?

---

<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:** [April 28, 2016, 7:41pm UTC](https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627/2 "2016-04-28T19:41:18Z")

</div>

What's the input string and what does your date filter look like?

---

<div class="post-metadata">

**Author:** ![stefansaye](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@stefansaye](https://discuss.elastic.co/u/stefansaye)\
**Post date:** [April 29, 2016, 12:17am UTC](https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627/3 "2016-04-29T00:17:25Z")

</div>

input string is syslog,  
"\<189\>Apr 28 17:23:54 NY-la 23205521: PP/0/RPP1/CPU0:Apr 28 17:26:58.922 : msdp[1051]: %ROUTING-MSDP-5-INIT\_STDBY\_PEER\_UP\_DOWN : MSDP peer up: 1.2.3.4 11111 Session has been successfully replicated! , PP/0/PPP1/CPU0:Apr 28 17:26:58.922 : msdp[1051]: %ROUTING-MSDP-5-INIT\_STDBY\_PEER\_UP\_DOWN : MSDP peer up: 1.2.3.4 11111 Session has been successfully replicated! "

conf as follow,

```
input {
  syslog{
      }
 }

```

i didn't set any date filter

---

<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:** [April 29, 2016, 5:28am UTC](https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627/4 "2016-04-29T05:28:59Z")

</div>

That's weird. The syslog input uses a date filter internally, but it should default to the current year. I don't understand what the year 2000 comes from.

---

<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:59am UTC](https://discuss.elastic.co/t/logstash-timestamp-field-wrong/48627/6 "2017-07-06T04:59:37Z")

</div>


