# \_dateparsefailure Logstash 7.17

**URL:** <https://discuss.elastic.co/t/dateparsefailure-logstash-7-17/298729>\
**Category:** Logstash\
**Created:** [March 3, 2022, 11:22am UTC](https://discuss.elastic.co/t/dateparsefailure-logstash-7-17/298729 "2022-03-03T11:22:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Lopez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_lopez/32/50639_2.png) [@Daniel\_Lopez](https://discuss.elastic.co/u/Daniel_Lopez)\
**Post date:** [March 3, 2022, 11:22am UTC](https://discuss.elastic.co/t/dateparsefailure-logstash-7-17/298729/1 "2022-03-03T11:22:25Z")

</div>

Hi to all!

The field I index to Elasticsearch is 03/03/2020 11:11:11 AM.

I tried with different filters

date {  
match =\> ["time","dd/MM/YYYY hh:mm:ss a"]  
target =\> "time"  
}  
date {  
match =\> ["time","dd/MM/YYYY hh:mm:ss aa"]  
target =\> "time"  
}  
date {  
match =\> ["time","dd/MM/YYYY HH:mm:ss a"]  
target =\> "time"  
}  
date {  
match =\> ["time","dd/MM/YYYY KK:mm:ss a"]  
target =\> "time"  
}

I tried these filters without luck. I was looking for it at the doc in [Date filter plugin | Logstash Reference [7.17] | Elastic](https://www.elastic.co/guide/en/logstash/7.17/plugins-filters-date.html)  
but i couldn't find it

Someone could help with this?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [March 3, 2022, 11:50am UTC](https://discuss.elastic.co/t/dateparsefailure-logstash-7-17/298729/2 "2022-03-03T11:50:35Z")

</div>

```
      add_field => ["time", "03/03/2020 11:11:11 AM"]

```

...

```auto
	date {
		match => ["time","dd/MM/yyyy hh:mm:ss a"]
		target => "time2"
	}

```

Will produce:  
"time" =\> "03/03/2020 11:11:11 AM" ,  
"time2" =\> 2020-03-03T10:11:11.000Z

---

<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:** [March 31, 2022, 11:50am UTC](https://discuss.elastic.co/t/dateparsefailure-logstash-7-17/298729/3 "2022-03-31T11:50:54Z")

</div>

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