# Logstash don't parse Date field properly

**URL:** <https://discuss.elastic.co/t/logstash-dont-parse-date-field-properly/112460>\
**Category:** Logstash\
**Created:** [December 19, 2017, 3:15pm UTC](https://discuss.elastic.co/t/logstash-dont-parse-date-field-properly/112460 "2017-12-19T15:15:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wills1](https://avatars.discourse-cdn.com/v4/letter/w/85e7bf/32.png) [@Wills1](https://discuss.elastic.co/u/Wills1)\
**Post date:** [December 19, 2017, 3:15pm UTC](https://discuss.elastic.co/t/logstash-dont-parse-date-field-properly/112460/1 "2017-12-19T15:15:17Z")

</div>

Hi !  
I have a date field in my csv file that I try to parse. Following ist my date filter:  
date{  
match =\> ["Date", "ISO8601"]  
timezone =\> "Europe/Berlin"  
target =\> "Date"  
}  
my current configured time zone in my operating system is a UTC+1 and in My kibana advanced configuration I have the browser timezone. I have the following output in Kibana:

"time": December 19th 2017, 15:04:49 (the time of my timezone)  
"message": 2017/02/06 22:15:30  
"Date": February 6th 2017, 23:15:30.000

the output "Date" must be: February 6th 2017, 22:15:30.000; so Kibana output the date with UTC+2.

I configured kibana to have the dateformat:tz to Etc/Utc. it solved this problem (the output date was as expected) the @timestamp in Kibana was in UTC:

"time": December 19th 2017, 14:04:49 (instead of "time": December 19th 2017, 15:04:49)  
"message": 2017/02/06 22:15:30  
"Date": February 6th 2017, 22:15:30.000

My goal ist to have the following output:

"time": December 19th 2017, 15:04:49 (the time of my timezone)  
"message": 2017/02/06 22:15:30  
"Date": February 6th 2017, 22:15:30.000

Can you please help me ??

---

<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:** [January 16, 2018, 3:15pm UTC](https://discuss.elastic.co/t/logstash-dont-parse-date-field-properly/112460/2 "2018-01-16T15:15:29Z")

</div>

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