{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-services/heka/issues/1817","labels_url":"https://api.github.com/repos/mozilla-services/heka/issues/1817/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/heka/issues/1817/comments","events_url":"https://api.github.com/repos/mozilla-services/heka/issues/1817/events","html_url":"https://github.com/mozilla-services/heka/pull/1817","id":123641684,"number":1817,"title":"Add an Apache Error log decoder","user":{"login":"But4ler","id":15019378,"avatar_url":"https://avatars.githubusercontent.com/u/15019378?v=3","gravatar_id":"","url":"https://api.github.com/users/But4ler","html_url":"https://github.com/But4ler","followers_url":"https://api.github.com/users/But4ler/followers","following_url":"https://api.github.com/users/But4ler/following{/other_user}","gists_url":"https://api.github.com/users/But4ler/gists{/gist_id}","starred_url":"https://api.github.com/users/But4ler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/But4ler/subscriptions","organizations_url":"https://api.github.com/users/But4ler/orgs","repos_url":"https://api.github.com/users/But4ler/repos","events_url":"https://api.github.com/users/But4ler/events{/privacy}","received_events_url":"https://api.github.com/users/But4ler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-23T11:17:37Z","updated_at":"2016-01-08T16:23:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-services/heka/pulls/1817","html_url":"https://github.com/mozilla-services/heka/pull/1817","diff_url":"https://github.com/mozilla-services/heka/pull/1817.diff","patch_url":"https://github.com/mozilla-services/heka/pull/1817.patch"},"body":"Hello\r\nWith Apache 2.4, it is possible to Customize the error logs on the same model as the access logs\r\nhttp://httpd.apache.org/docs/2.4/mod/core.html#errorlogformat\r\nhttps://httpd.apache.org/docs/2.4/fr/mod/mod_log_config.html#formats\r\n\r\nit would be possible to add Apache error handling?\r\nThank !"},"comment":{"url":"https://api.github.com/repos/mozilla-services/heka/issues/comments/170046386","html_url":"https://github.com/mozilla-services/heka/pull/1817#issuecomment-170046386","issue_url":"https://api.github.com/repos/mozilla-services/heka/issues/1817","id":170046386,"user":{"login":"ioc32","id":1151149,"avatar_url":"https://avatars.githubusercontent.com/u/1151149?v=3","gravatar_id":"","url":"https://api.github.com/users/ioc32","html_url":"https://github.com/ioc32","followers_url":"https://api.github.com/users/ioc32/followers","following_url":"https://api.github.com/users/ioc32/following{/other_user}","gists_url":"https://api.github.com/users/ioc32/gists{/gist_id}","starred_url":"https://api.github.com/users/ioc32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioc32/subscriptions","organizations_url":"https://api.github.com/users/ioc32/orgs","repos_url":"https://api.github.com/users/ioc32/repos","events_url":"https://api.github.com/users/ioc32/events{/privacy}","received_events_url":"https://api.github.com/users/ioc32/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T16:23:35Z","updated_at":"2016-01-08T16:23:35Z","body":"FWIW I used the Apache Error log to learn LPEG. Here's the result, which seemed to work with the log samples I had around back then:\r\n\r\nhttps://github.com/ioc32/heka-lua-decoders/blob/master/apache-error.lua\r\n\r\nIt's nothing like the full-fledged grammars the heka team has put together for nginx formats, but I'd be happy to refine the lua code there and submit a PR."}}