# Date parsing failed

**URL:** <https://discuss.elastic.co/t/date-parsing-failed/111739>\
**Category:** Logstash\
**Created:** [December 14, 2017, 10:27am UTC](https://discuss.elastic.co/t/date-parsing-failed/111739 "2017-12-14T10:27:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cilzzz](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@cilzzz](https://discuss.elastic.co/u/cilzzz)\
**Post date:** [December 14, 2017, 10:27am UTC](https://discuss.elastic.co/t/date-parsing-failed/111739/1 "2017-12-14T10:27:00Z")

</div>

Hello

i have an oracle log file and i need to parse the date in a field named backup\_start  
the date format in this field is like this 04-12-2017 20:30

and my config is

```
date {
                  match => ["backup_start", "dd-MM-yyyy HH:mm"]
                  timezone => "Europe/Paris"
}

```

All the dates in this field belong to this month, while checking my kibana all the dates in this field belong to today. i checked my logstash log file there is no error or warning? what is the problem should my date field contains seconds also ?

thank you!

---

<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:** [December 14, 2017, 11:42am UTC](https://discuss.elastic.co/t/date-parsing-failed/111739/2 "2017-12-14T11:42:46Z")

</div>

Please show an example event produced by Logstash. Copy/paste from Kibana's JSON tab.

---

<div class="post-metadata">

**Author:** ![cilzzz](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@cilzzz](https://discuss.elastic.co/u/cilzzz)\
**Post date:** [December 14, 2017, 2:11pm UTC](https://discuss.elastic.co/t/date-parsing-failed/111739/3 "2017-12-14T14:11:25Z")

</div>

actually it worked finally although i didn't do anythting but i have an error in kibana(tab) in

`[tags]: beats_input_codec_plain_applied, _csvparsefailure`

and in logstash logfile

```
 {:timestamp=>"2017-12-14T14:37:38.661000+0100", :message=>"CAUTION: Recommended inflight events max exceeded! Logstash will run with up to 16000 events in memory in your current configuration. If your message sizes are large this may cause instability with the default heap size. Please consider setting a non-standard heap size, changing the batch size (currently 2000), or changing the number of pipeline workers (currently 8)", :level=>:warn}
{:timestamp=>"2017-12-14T14:37:38.683000+0100", :message=>"Pipeline main started"}
{:timestamp=>"2017-12-14T14:39:13.897000+0100", :message=>"Error parsing csv", :field=>"message", :source=>"", :exception=>#<NoMethodError: undefined method `each_index' for nil:NilClass>, :level=>:warn}

```

i am using filebeat to send logs to logstash

---

<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 11, 2018, 2:11pm UTC](https://discuss.elastic.co/t/date-parsing-failed/111739/4 "2018-01-11T14:11:57Z")

</div>

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