logstash/logstash — pull request #621 by iyingchi (2013-09-04 15:27:38+00:00)
Title: added date format ISO8601_DATE of YYYY-MM-DD. Modified TIMESTAMP_ISO8601...

... pattern to use ISO8601_DATE. Modified DATE pattern to match for ISO8601_DATE first.

Currently DATE pattern grabs months and days first. When encountering an ISO8601 date of YYYY-MM-DD, it will take the first 2 digit as the month or day, off-setting the rest of the date.

So I've added the ISO8601_DATE and try to have that match first to the DATE pattern. This is more for ease of use since it will let users to just throw DATESTAMP pattern and have it properly match the year, month, and day without creating their own patterns (or use the long TIMESTAMP_ISO8601 format)