Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3206

SyslogUtils failed to parse RFC5424 example3 timestamp in correct UTC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Master
    • None
    • program running in UTC-8 timezone

    Description

      RFC5424 timestamp Example 3: 2003-10-11T22:14:15.003Z

      when running in UTC-8,SyslogUtils failed to parse the timestamp in correct UTC,the result is
      1065881655003
      Sat Oct 11 22:14:15 GMT+08:00 2003

      And SyslogParser.parseRfc5424Date(String timestamp) can get correct milliseconds:
      1065910455003
      Sun Oct 12 06:14:15 GMT+08:00 2003

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhumingwei zhumingwei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: