[
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14171642#comment-14171642
]
Johny Rufus commented on FLUME-2497:
------------------------------------
Reference to the javadoc for SimpleDateFormat,
http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
which specifies that 'S' corresponds to milliseconds and the standard format
that matches the above pattern for parsing is
yyyy-MM-dd'T'HH:mm:ss.S and in which case S = 222357 is taken as milliseconds
> TCP and UDP syslog sources parsing the timestamp incorrectly
> ------------------------------------------------------------
>
> Key: FLUME-2497
> URL: https://issues.apache.org/jira/browse/FLUME-2497
> Project: Flume
> Issue Type: Bug
> Affects Versions: v1.5.0.1
> Reporter: Johny Rufus
> Assignee: Johny Rufus
> Fix For: v1.6.0
>
> Attachments: FLUME-2497.patch
>
>
> TCP and UDP syslog sources parse the timestamp incorrectly while using
> Syslogutils extractEvent and buildEvent methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)