date filter adding tag even if match fails and @timestamp not updated


Logstash is adding the dated tag so, according to the docs, the date filter succeeded. Yet, @timestamp is still ms-resolution and clearly has not been updated from timestamp when we see logstash catch up on old log items.

Config in client:

Example record sent to output:


Philippe Weber
April 8, 2014, 2:47 PM

You current date pattern cannot match your date, you need to add another option like (pay attention to the double space before the single d)

Please confirm it fixes your timestamp parsing issue.

The remaining fact that the event is tagged even when the parsing fails seems wrong, I will have a deeper look in the code and tests.

Garth Kidd
April 9, 2014, 10:28 AM

Confirmed. Thanks!

James Turnbull
April 9, 2014, 10:56 AM

Thanks Garth - I'll update the book example too.

Philippe Weber
April 10, 2014, 3:05 PM
Jason Kendall
April 18, 2014, 4:25 AM

PR Merged, Closing



Philippe Weber


Garth Kidd


Fix versions

Affects versions