# Date-filter - Issue with setting @timestamp with the value from my log

**URL:** <https://discuss.elastic.co/t/date-filter-issue-with-setting-timestamp-with-the-value-from-my-log/179433>\
**Category:** Logstash\
**Created:** [May 2, 2019, 8:23pm UTC](https://discuss.elastic.co/t/date-filter-issue-with-setting-timestamp-with-the-value-from-my-log/179433 "2019-05-02T20:23:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [May 2, 2019, 9:06pm UTC](https://discuss.elastic.co/t/date-filter-issue-with-setting-timestamp-with-the-value-from-my-log/179433/4 "2019-05-02T21:06:38Z")

</div>

I was so confuse on date thing here is thread, and Badger help me understand it

> [@Date to CST](https://discuss.elastic.co/t/date-to-cst/169615/3):
>
> I just want to keep what ever the time it is. what is it converting ot [root@test1]# echo "04-12-2018 11:45:17" | /usr/share/logstash/bin/logstash -f test.conf { "@version" =\> "1", "completed" =\> 2018-12-04T17:45:17.000Z, "message" =\> "04-12-2018 11:45:17", "@timestamp" =\> 2019-02-22T17:44:23.267Z, } Difference is +6 if I do etc/GMT-6 = 2018-12-04T05:45:17.000Z, ( 6 hour behind.) I simply just want to keep whatever this time is. I am in "America/Chicago" timezone.

[https://discuss.elastic.co/t/date-to-cst/169615/3](https://discuss.elastic.co/t/date-to-cst/169615/3)

---

_[View the full topic](https://discuss.elastic.co/t/date-filter-issue-with-setting-timestamp-with-the-value-from-my-log/179433)._
