{"action":"closed","issue":{"url":"https://api.github.com/repos/openshift/origin-aggregated-logging/issues/169","repository_url":"https://api.github.com/repos/openshift/origin-aggregated-logging","labels_url":"https://api.github.com/repos/openshift/origin-aggregated-logging/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin-aggregated-logging/issues/169/comments","events_url":"https://api.github.com/repos/openshift/origin-aggregated-logging/issues/169/events","html_url":"https://github.com/openshift/origin-aggregated-logging/issues/169","id":160288010,"number":169,"title":"fluentd cannot process datetimes in the future in /var/log/messages","user":{"login":"richm","id":23066,"avatar_url":"https://avatars.githubusercontent.com/u/23066?v=3","gravatar_id":"","url":"https://api.github.com/users/richm","html_url":"https://github.com/richm","followers_url":"https://api.github.com/users/richm/followers","following_url":"https://api.github.com/users/richm/following{/other_user}","gists_url":"https://api.github.com/users/richm/gists{/gist_id}","starred_url":"https://api.github.com/users/richm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richm/subscriptions","organizations_url":"https://api.github.com/users/richm/orgs","repos_url":"https://api.github.com/users/richm/repos","events_url":"https://api.github.com/users/richm/events{/privacy}","received_events_url":"https://api.github.com/users/richm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"richm","id":23066,"avatar_url":"https://avatars.githubusercontent.com/u/23066?v=3","gravatar_id":"","url":"https://api.github.com/users/richm","html_url":"https://github.com/richm","followers_url":"https://api.github.com/users/richm/followers","following_url":"https://api.github.com/users/richm/following{/other_user}","gists_url":"https://api.github.com/users/richm/gists{/gist_id}","starred_url":"https://api.github.com/users/richm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richm/subscriptions","organizations_url":"https://api.github.com/users/richm/orgs","repos_url":"https://api.github.com/users/richm/repos","events_url":"https://api.github.com/users/richm/events{/privacy}","received_events_url":"https://api.github.com/users/richm/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-06-14T21:26:38Z","updated_at":"2016-06-15T21:11:39Z","closed_at":"2016-06-15T21:11:39Z","body":"Writing a date in the future to `/var/log/messages` causes the following error in the fluentd logs::\r\n\r\n    2016-06-14 17:26:48 -0400 [warn]: failed to expand `%Q[#{ Time.at(time) > Time.now ? (temp_time = Time.parse(Time.at(time).to_s.gsub(Time.at(time).year.to_s, (tag_parts[3].nil? ? Time.at(time).year.to_s : tag_parts[3][9,4]) )).to_datetime.to_s; Time.parse(temp_time) > Time.now ? Time.parse(temp_time.gsub(Time.parse(temp_time).year.to_s, (Time.parse(temp_time).year - 1).to_s )).to_datetime.to_s : Time.parse(temp_time).to_datetime.to_s ) : Time.at(time).to_datetime.to_s }]` error_class=TypeError error=\"no implicit conversion of nil into String\"\r\n      2016-06-14 17:26:48 -0400 [warn]: /usr/share/gems/gems/fluentd-0.12.20/lib/fluent/plugin/filter_record_transformer.rb:319:in `instance_eval'\r\n"}}
{"actor":{"display_login":"richm"}}