{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/25386","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/25386/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/25386/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/25386/events","html_url":"https://github.com/elastic/kibana/pull/25386","id":378750281,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5Mzc5MTM2","number":25386,"title":"Replace deprecated moving_avg by moving_fn aggregation","user":{"login":"timroes","id":877229,"node_id":"MDQ6VXNlcjg3NzIyOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/877229?v=4","gravatar_id":"","url":"https://api.github.com/users/timroes","html_url":"https://github.com/timroes","followers_url":"https://api.github.com/users/timroes/followers","following_url":"https://api.github.com/users/timroes/following{/other_user}","gists_url":"https://api.github.com/users/timroes/gists{/gist_id}","starred_url":"https://api.github.com/users/timroes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timroes/subscriptions","organizations_url":"https://api.github.com/users/timroes/orgs","repos_url":"https://api.github.com/users/timroes/repos","events_url":"https://api.github.com/users/timroes/events{/privacy}","received_events_url":"https://api.github.com/users/timroes/received_events","type":"User","site_admin":false},"labels":[{"id":478071923,"node_id":"MDU6TGFiZWw0NzgwNzE5MjM=","url":"https://api.github.com/repos/elastic/kibana/labels/:Aggregations","name":":Aggregations","color":"0e8a16","default":false},{"id":1055842724,"node_id":"MDU6TGFiZWwxMDU1ODQyNzI0","url":"https://api.github.com/repos/elastic/kibana/labels/:KibanaApp","name":":KibanaApp","color":"fef2c0","default":false},{"id":26198236,"node_id":"MDU6TGFiZWwyNjE5ODIzNg==","url":"https://api.github.com/repos/elastic/kibana/labels/release_note:enhancement","name":"release_note:enhancement","color":"4a4ea8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-08T14:16:45Z","updated_at":"2018-11-08T16:30:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/25386","html_url":"https://github.com/elastic/kibana/pull/25386","diff_url":"https://github.com/elastic/kibana/pull/25386.diff","patch_url":"https://github.com/elastic/kibana/pull/25386.patch"},"body":"## Summary\r\n\r\nFixes the first part of #24702 (TSVB still needs to be converted)\r\n\r\nThis will replace the now deprecated [`moving_avg`](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-movavg-aggregation.html) aggregation by the new [`moving_fn`](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-movfn-aggregation.html) but use the same script and window size that we used beforehand as default.\r\n\r\n**QA**: This PR should not change any functionality.\r\n\r\n### Checklist\r\n\r\nUse ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.\r\n\r\n- [ ] ~This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~\r\n- [ ] ~Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~\r\n- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~\r\n- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios\r\n- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~\r\n\r\n### For maintainers\r\n\r\n- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~\r\n- [ ] ~This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/437060368","html_url":"https://github.com/elastic/kibana/pull/25386#issuecomment-437060368","issue_url":"https://api.github.com/repos/elastic/kibana/issues/25386","id":437060368,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzA2MDM2OA==","user":{"login":"elasticmachine","id":15837671,"node_id":"MDQ6VXNlcjE1ODM3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T16:30:21Z","updated_at":"2018-11-08T16:30:21Z","author_association":"NONE","body":"## :broken_heart: Build Failed\n* [continuous-integration/kibana-ci/pull-request](https://kibana-ci.elastic.co/job/elastic-kibana-pull-request/8148/)\n\n"}}
{"actor":{"display_login":"elasticmachine"}}