{"action":"created","issue":{"url":"https://api.github.com/repos/roidrage/lograge/issues/95","labels_url":"https://api.github.com/repos/roidrage/lograge/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/roidrage/lograge/issues/95/comments","events_url":"https://api.github.com/repos/roidrage/lograge/issues/95/events","html_url":"https://github.com/roidrage/lograge/issues/95","id":50373865,"number":95,"title":"invalid timestamp format","user":{"login":"andywenk","id":51517,"avatar_url":"https://avatars.githubusercontent.com/u/51517?v=3","gravatar_id":"","url":"https://api.github.com/users/andywenk","html_url":"https://github.com/andywenk","followers_url":"https://api.github.com/users/andywenk/followers","following_url":"https://api.github.com/users/andywenk/following{/other_user}","gists_url":"https://api.github.com/users/andywenk/gists{/gist_id}","starred_url":"https://api.github.com/users/andywenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywenk/subscriptions","organizations_url":"https://api.github.com/users/andywenk/orgs","repos_url":"https://api.github.com/users/andywenk/repos","events_url":"https://api.github.com/users/andywenk/events{/privacy}","received_events_url":"https://api.github.com/users/andywenk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/roidrage/lograge/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-11-28T13:23:41Z","updated_at":"2015-02-08T14:29:23Z","closed_at":null,"body":"I have the following log entry created by lograge\r\n      \r\n    {\"method\":\"GET\",\"path\":\"/warenkorb\",\"format\":\"json\",\"controller\":\"carts\",\"action\":\"show\",\"status\":200,\"duration\":4.69,\"view\":0.3,\"db\":0.0,\"name\":\"development\",\"session\":\"a93fa3308f8873b179c091ad287534c8\",\"host\":\"localhost\",\"@timestamp\":\"2014/11/28 12:56:09 +0000\",\"@version\":\"1\",\"message\":\"[200] GET /warenkorb (carts#show)\"}\r\n\r\nThe timestamp bit looks like this:\r\n\r\n    \"@timestamp\":\"2014/11/28 12:56:09 +0000\"\r\n\r\nUnfortunately, logstash is responding with this error:\r\n\r\n    A plugin had an unrecoverable error. Will restart this plugin.\r\n    Plugin: <LogStash::Inputs::Stdin >\r\n    Error: Invalid format: \"2014/11/25 13:14:30 +0000\" is malformed at \"/11/25 13:14:30 +0000\" \r\n    {:level=>:error}\r\n\r\nWhen changing the format by hand for test purposes to:\r\n\r\n     2014-11-27T14:45:02.928Z\r\n\r\nit is working. I am not sure where the error is. Is this a lograge, logstash or Rails config error?\r\n\r\nThanks for any help  "},"comment":{"url":"https://api.github.com/repos/roidrage/lograge/issues/comments/73413024","html_url":"https://github.com/roidrage/lograge/issues/95#issuecomment-73413024","issue_url":"https://api.github.com/repos/roidrage/lograge/issues/95","id":73413024,"user":{"login":"andywenk","id":51517,"avatar_url":"https://avatars.githubusercontent.com/u/51517?v=3","gravatar_id":"","url":"https://api.github.com/users/andywenk","html_url":"https://github.com/andywenk","followers_url":"https://api.github.com/users/andywenk/followers","following_url":"https://api.github.com/users/andywenk/following{/other_user}","gists_url":"https://api.github.com/users/andywenk/gists{/gist_id}","starred_url":"https://api.github.com/users/andywenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywenk/subscriptions","organizations_url":"https://api.github.com/users/andywenk/orgs","repos_url":"https://api.github.com/users/andywenk/repos","events_url":"https://api.github.com/users/andywenk/events{/privacy}","received_events_url":"https://api.github.com/users/andywenk/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T14:29:23Z","updated_at":"2015-02-08T14:29:23Z","body":"it should look like this I think:\r\n\r\nhttps://github.com/elasticsearch/logstash/blob/v1.2.2/lib/logstash/event.rb#L37\r\n\r\nBut what I have when using master from github is:\r\n\r\n    {\r\n       ... \r\n       \"@timestamp\": \"2015/02/08 14:13:39 +0000\",\r\n       \"@version\": \"1\",\r\n       \"message\": \"[200] GET /warenkorb (carts#show)\"\r\n    }\r\n\r\nThe configuration from above is the same. Am I missing something? Am I the only one with this problem?\r\nThanks a lot for looking into this ;-)"}}