{"action":"closed","issue":{"url":"https://api.github.com/repos/driskell/log-courier/issues/176","labels_url":"https://api.github.com/repos/driskell/log-courier/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/driskell/log-courier/issues/176/comments","events_url":"https://api.github.com/repos/driskell/log-courier/issues/176/events","html_url":"https://github.com/driskell/log-courier/issues/176","id":83966726,"number":176,"title":"Error in logstash - \"Failed parsing date from field\"  because of IllegalArgumentException","user":{"login":"ahaeber","id":849280,"avatar_url":"https://avatars.githubusercontent.com/u/849280?v=3","gravatar_id":"","url":"https://api.github.com/users/ahaeber","html_url":"https://github.com/ahaeber","followers_url":"https://api.github.com/users/ahaeber/followers","following_url":"https://api.github.com/users/ahaeber/following{/other_user}","gists_url":"https://api.github.com/users/ahaeber/gists{/gist_id}","starred_url":"https://api.github.com/users/ahaeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahaeber/subscriptions","organizations_url":"https://api.github.com/users/ahaeber/orgs","repos_url":"https://api.github.com/users/ahaeber/repos","events_url":"https://api.github.com/users/ahaeber/events{/privacy}","received_events_url":"https://api.github.com/users/ahaeber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T10:49:39Z","updated_at":"2015-06-02T14:14:44Z","closed_at":"2015-06-02T14:14:44Z","body":"I'm trying out log-courier together with logstash-1.5 and experience a parsing error in logstash for the events:\r\n```javascript\r\n{:timestamp=>\"2015-06-02T12:12:12.725000+0200\", :message=>\"Failed parsing date from field\", :field=>\"timestamp\", :value=>\"2015-06-02 12:12:06.5215\", :exception=>java.lang.IllegalArgumentException: Invalid format: \"2015-06-02 12:12:06.\r\n5215\" is malformed at \"5\", :level=>:warn, \"plugin\"=>\"input/courier\", \"port\"=>5000}\r\n{:timestamp=>\"2015-06-02T12:12:12.735000+0200\", :message=>\"Failed parsing date from field\", :field=>\"timestamp\", :value=>\"2015-06-02 12:12:11.0090\", :exception=>java.lang.IllegalArgumentException: Invalid format: \"2015-06-02 12:12:11.\r\n0090\" is malformed at \"0\", :level=>:warn, \"plugin\"=>\"input/courier\", \"port\"=>5000}\r\n{:timestamp=>\"2015-06-02T12:12:12.747000+0200\", :message=>\"Failed parsing date from field\", :field=>\"timestamp\", :value=>\"2015-06-02 12:12:11.0090\", :exception=>java.lang.IllegalArgumentException: Invalid format: \"2015-06-02 12:12:11.\r\n0090\" is malformed at \"0\", :level=>:warn, \"plugin\"=>\"input/courier\", \"port\"=>5000}\r\n```\r\n\r\nThis appears to be a typical Joda Time parsing error due to an incorrect format. I've experienced this before with the date filter due to locale mismatch (logstash or filter assumes the wrong locale). So it seems to be the same issue here. However, the date filter has several configuration options for date parsing but I cannot see anything similar for the input/courier configuration.\r\n\r\nDoes anybody know a fix / workaround for this issue? Or is it simply a bug in log-courier?"}}