Eventlog Input Error - Invalid format: "2014-01-22T19:26:07+00:00" is malformed at "+00:00"

Description

When running logstash on Windows 7 Enterprise SP1 64 bit, I am getting an exception whenever a new log entry is populated into the Windows event log. The general error is:

Invalid format: "2014-01-22T19:26:07+00:00" is malformed at "+00:00"

Attached is the config file and the verbose error log. Even though rubydebug is set on the output, I get no output debug.

Activity

Show:
Richard Pijnenburg
January 24, 2014, 11:02 AM

How are you running the tests? and with which version of ruby / java?

Andreas Wirooks
January 24, 2014, 12:14 PM

By running "make test". Java is openjdk 7u25-2.3.10-1~deb7u1 and ruby is 1.9.3.194-8.1+deb7u2. Both the actual wheezy ones, wich is my build environment.

Regards,
Andreas

Richard Pijnenburg
January 24, 2014, 12:18 PM

Ahh, you might wanna change that to 'make flatjar-test' can you try that?

Andreas Wirooks
January 24, 2014, 12:31 PM

Hi Richard,
thank you for your answer. Running 'make flatjar-test' gives this error:

Failures:

1) http dates "{"timestamp":"25/Mar/2013:20:33:56 +0000"}" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected "2013-03-25T20:33:56.000Z", but got "2014-01-24T12:29:19.125Z"

  1. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/insist/assert.rb:8:in `assert'

  2. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/insist/comparators.rb:14:in `=='

  3. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/spec/support/date-http.rb:15:in `(root)'

  4. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example.rb:114:in `run'

  5. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example.rb:112:in `run'

  6. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example.rb:254:in `with_around_each_hooks'

  7. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example.rb:111:in `run'

  8. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example.rb:109:in `run'

  9. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:390:in `run_examples'

  10. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:386:in `run_examples'

  11. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:371:in `run'

  12. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:369:in `run'

  13. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:372:in `run'

  14. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:372:in `run'

  15. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/example_group.rb:369:in `run'

  16. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/command_line.rb:28:in `run'

  17. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/command_line.rb:28:in `run'

  18. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/reporter.rb:58:in `report'

  19. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/command_line.rb:25:in `run'

  20. file:.root/x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/runner.rb:80:in `run'

  21. logstash.runner.rb:154:in `run'

Finished in 1 minute 53.99 seconds
477 examples, 1 failure

Failed examples:

rspec file:.root.x/logstash/build/logstash-1.3.3-flatjar.jar!/rspec/core/metadata.rb:187 # http dates "{"timestamp":"25/Mar/2013:20:33:56 +0000"}" when processed
make: *** [flatjar-test] Fehler 1

Philippe Weber
August 1, 2014, 6:31 AM

Just cleaning the status

Assignee

Philippe Weber

Reporter

JamesC

Labels

Fix versions

Affects versions

Configure