Hi
I'm getting invalid time format error for time with zero seconds and some milliseconds
<filter nokia.logging.json>
@type parser
key_name message
<parse>
@type json
time_key time
time_format %iso8601
keep_time_key true
</parse>
</filter>
2020-12-23 18:46:00 +0530 [warn]: #0 dump an error event: error_class=Fluent::Plugin::Parser::ParserError error="invalid time format: value = 2020-12-23T18:46+05:30, error_class = ArgumentError, error = invalid date: \"2020-12-23T18:46+05:30\"" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.4.2/lib/fluent/plugin/parser.rb:112:in `rescue in parse_time'" tag="nokia.logging.json" time=2020-12-23 18:46:00.002713286 +0530 record={"header"=>"yt\x02\x18", "message"=>"{\"host\":\"sps-ig-diameterapp-0\",\"level\":\"INFO\",\"log\":{\"classname\":\"com.alcatel.tpapps.common.common.metrics.DefaultMetricsPlugin:547\",\"message\":\"Starting metrics collection for interval (start time=2020-12-23T18:45:00.000+05:30, end time=2020-12-23T18:46:00.000+05:30).\",\"stacktrace\":\"\",\"threadname\":\"MetricsManager-DefaultMetricsPlugin-1\"},\"process\":\"collectMetrics\",\"service\":\"SERVER\",\"time\":\"2020-12-23T18:46+05:30\",\"timezone\":\"Asia/Kolkata\",\"type\":\"log\",\"system\":\"SPS_IG_AI_Punit\",\"systemid\":\"CBAM-3e3a79af0f64490a9f8d51d4fd74269f\"}"}
2020-12-23 18:48:00 +0530 [warn]: #0 dump an error event: error_class=Fluent::Plugin::Parser::ParserError error="invalid time format: value = 2020-12-23T18:48+05:30, error_class = ArgumentError, error = invalid date: \"2020-12-23T18:48+05:30\"" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.4.2/lib/fluent/plugin/parser.rb:112:in `rescue in parse_time'" tag="nokia.logging.json" time=2020-12-23 18:48:00.003050775 +0530 record={"header"=>"yt\x02\x18", "message"=>"{\"host\":\"sps-ig-diameterapp-0\",\"level\":\"INFO\",\"log\":{\"classname\":\"com.alcatel.tpapps.common.common.metrics.DefaultMetricsPlugin:547\",\"message\":\"Starting metrics collection for interval (start time=2020-12-23T18:47:00.001+05:30, end time=2020-12-23T18:48:00.000+05:30).\",\"stacktrace\":\"\",\"threadname\":\"MetricsManager-DefaultMetricsPlugin-1\"},\"process\":\"collectMetrics\",\"service\":\"SERVER\",\"time\":\"2020-12-23T18:48+05:30\",\"timezone\":\"Asia/Kolkata\",\"type\":\"log\",\"system\":\"SPS_IG_AI_Punit\",\"systemid\":\"CBAM-3e3a79af0f64490a9f8d51d4fd74269f\"}"}