# Get "\_dateparsefailure" when use Elasticsearch input plugin

**URL:** https://discuss.elastic.co/t/get-dateparsefailure-when-use-elasticsearch-input-plugin/163357
**Category:** Logstash
**Created:** [January 8, 2019, 11:39am UTC](https://discuss.elastic.co/t/get-dateparsefailure-when-use-elasticsearch-input-plugin/163357 "2019-01-08T11:39:57Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![occultskyrong](https://avatars.discourse-cdn.com/v4/letter/o/8e8cbc/32.png) [@occultskyrong](https://discuss.elastic.co/u/occultskyrong)
#### Post date: [January 9, 2019, 3:01am UTC](https://discuss.elastic.co/t/get-dateparsefailure-when-use-elasticsearch-input-plugin/163357/2 "2019-01-09T03:01:28Z")

</div>

just solved by [Date Custom Field Timezone](https://discuss.elastic.co/t/date-custom-field-timezone/108673/6)

the api for `ruby strftime` see [https://apidock.com/ruby/DateTime/strftime](https://apidock.com/ruby/DateTime/strftime)

---

_[View the full topic](https://discuss.elastic.co/t/get-dateparsefailure-when-use-elasticsearch-input-plugin/163357)._
