{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-services/heka/issues/1357","labels_url":"https://api.github.com/repos/mozilla-services/heka/issues/1357/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/heka/issues/1357/comments","events_url":"https://api.github.com/repos/mozilla-services/heka/issues/1357/events","html_url":"https://github.com/mozilla-services/heka/pull/1357","id":58540624,"number":1357,"title":"Make it possible to change field names for ESJsonEncoder","user":{"login":"afajl","id":366018,"avatar_url":"https://avatars.githubusercontent.com/u/366018?v=3","gravatar_id":"","url":"https://api.github.com/users/afajl","html_url":"https://github.com/afajl","followers_url":"https://api.github.com/users/afajl/followers","following_url":"https://api.github.com/users/afajl/following{/other_user}","gists_url":"https://api.github.com/users/afajl/gists{/gist_id}","starred_url":"https://api.github.com/users/afajl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afajl/subscriptions","organizations_url":"https://api.github.com/users/afajl/orgs","repos_url":"https://api.github.com/users/afajl/repos","events_url":"https://api.github.com/users/afajl/events{/privacy}","received_events_url":"https://api.github.com/users/afajl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T04:14:43Z","updated_at":"2015-02-23T21:56:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-services/heka/pulls/1357","html_url":"https://github.com/mozilla-services/heka/pull/1357","diff_url":"https://github.com/mozilla-services/heka/pull/1357.diff","patch_url":"https://github.com/mozilla-services/heka/pull/1357.patch"},"body":"This make it possible to set custom field names in ES, like:\r\n\r\n[ESJsonEncoder]\r\n...\r\n  [ESJsonEncoder.field_mapping]\r\n  Timestamp = \"@timestamp\"\r\n  EnvVersion = @version\"\r\n  Logger = \"source\"\r\n\r\nWould you be interested in merging this after some docs and tests has been written?"},"comment":{"url":"https://api.github.com/repos/mozilla-services/heka/issues/comments/75645360","html_url":"https://github.com/mozilla-services/heka/pull/1357#issuecomment-75645360","issue_url":"https://api.github.com/repos/mozilla-services/heka/issues/1357","id":75645360,"user":{"login":"rafrombrc","id":151364,"avatar_url":"https://avatars.githubusercontent.com/u/151364?v=3","gravatar_id":"","url":"https://api.github.com/users/rafrombrc","html_url":"https://github.com/rafrombrc","followers_url":"https://api.github.com/users/rafrombrc/followers","following_url":"https://api.github.com/users/rafrombrc/following{/other_user}","gists_url":"https://api.github.com/users/rafrombrc/gists{/gist_id}","starred_url":"https://api.github.com/users/rafrombrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafrombrc/subscriptions","organizations_url":"https://api.github.com/users/rafrombrc/orgs","repos_url":"https://api.github.com/users/rafrombrc/repos","events_url":"https://api.github.com/users/rafrombrc/events{/privacy}","received_events_url":"https://api.github.com/users/rafrombrc/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T21:56:20Z","updated_at":"2015-02-23T21:56:20Z","body":"Yeah, this seems reasonable. To merge we'd need a couple of tests, an entry in the CHANGES.txt changelog, and documentation added to the esjson.rst file. Thanks!"}}