Date filter showing error

date{
match=>{"date","yyyy-mm-dd hh:mm:ss:sss","ISO8601"}
target="updated_date"
}
My input timestamp will be:2018-07-09T06:36:44.254Z"

exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, => at line 31(ie match line), column 20 (byte 778) after filter

Can you show us the complete error message? That appears to be truncated.

You appear to be missing a > after target=.

match=>{"date","yyyy-mm-dd hh:mm:ss:sss","ISO8601"}

Use [ and ] instead of { and }.

thank you all for your replies

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