{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/22008","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/22008/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/22008/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/22008/events","html_url":"https://github.com/elastic/kibana/pull/22008","id":350860989,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NjAxMzM5","number":22008,"title":"[Infra UI] [needs rebase] Fix live tailing with the graphql api","user":{"login":"weltenwort","id":973741,"node_id":"MDQ6VXNlcjk3Mzc0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/973741?v=4","gravatar_id":"","url":"https://api.github.com/users/weltenwort","html_url":"https://github.com/weltenwort","followers_url":"https://api.github.com/users/weltenwort/followers","following_url":"https://api.github.com/users/weltenwort/following{/other_user}","gists_url":"https://api.github.com/users/weltenwort/gists{/gist_id}","starred_url":"https://api.github.com/users/weltenwort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weltenwort/subscriptions","organizations_url":"https://api.github.com/users/weltenwort/orgs","repos_url":"https://api.github.com/users/weltenwort/repos","events_url":"https://api.github.com/users/weltenwort/events{/privacy}","received_events_url":"https://api.github.com/users/weltenwort/received_events","type":"User","site_admin":false},"labels":[{"id":983061515,"node_id":"MDU6TGFiZWw5ODMwNjE1MTU=","url":"https://api.github.com/repos/elastic/kibana/labels/:Infra%20UI","name":":Infra UI","color":"6cddd6","default":false},{"id":981817023,"node_id":"MDU6TGFiZWw5ODE4MTcwMjM=","url":"https://api.github.com/repos/elastic/kibana/labels/:Ingest%20UI","name":":Ingest UI","color":"c5def5","default":false},{"id":1019679346,"node_id":"MDU6TGFiZWwxMDE5Njc5MzQ2","url":"https://api.github.com/repos/elastic/kibana/labels/loe:days","name":"loe:days","color":"E6C220","default":false},{"id":135307740,"node_id":"MDU6TGFiZWwxMzUzMDc3NDA=","url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"weltenwort","id":973741,"node_id":"MDQ6VXNlcjk3Mzc0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/973741?v=4","gravatar_id":"","url":"https://api.github.com/users/weltenwort","html_url":"https://github.com/weltenwort","followers_url":"https://api.github.com/users/weltenwort/followers","following_url":"https://api.github.com/users/weltenwort/following{/other_user}","gists_url":"https://api.github.com/users/weltenwort/gists{/gist_id}","starred_url":"https://api.github.com/users/weltenwort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weltenwort/subscriptions","organizations_url":"https://api.github.com/users/weltenwort/orgs","repos_url":"https://api.github.com/users/weltenwort/repos","events_url":"https://api.github.com/users/weltenwort/events{/privacy}","received_events_url":"https://api.github.com/users/weltenwort/received_events","type":"User","site_admin":false},"assignees":[{"login":"weltenwort","id":973741,"node_id":"MDQ6VXNlcjk3Mzc0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/973741?v=4","gravatar_id":"","url":"https://api.github.com/users/weltenwort","html_url":"https://github.com/weltenwort","followers_url":"https://api.github.com/users/weltenwort/followers","following_url":"https://api.github.com/users/weltenwort/following{/other_user}","gists_url":"https://api.github.com/users/weltenwort/gists{/gist_id}","starred_url":"https://api.github.com/users/weltenwort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weltenwort/subscriptions","organizations_url":"https://api.github.com/users/weltenwort/orgs","repos_url":"https://api.github.com/users/weltenwort/repos","events_url":"https://api.github.com/users/weltenwort/events{/privacy}","received_events_url":"https://api.github.com/users/weltenwort/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-15T15:44:44Z","updated_at":"2018-08-20T19:04:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/22008","html_url":"https://github.com/elastic/kibana/pull/22008","diff_url":"https://github.com/elastic/kibana/pull/22008.diff","patch_url":"https://github.com/elastic/kibana/pull/22008.patch"},"body":":warning: This PR contains commits from prior unmerged PRs #21859 and #21935.\r\n\r\n## Rename slice `target` to `logPosition`\r\n\r\nThe slice name `target` was seriously lacking in the desciptiveness department so I renamed it to `logPosition`. It contains the desired log position (as selected by the datepicker) as well as the reported log position. The polling state for \"live streaming\" (see below) is also managed by this slice.\r\n\r\n## Live streaming\r\n\r\nThis changes the live streaming functionality to poll the log entry and summary graphql endpoints. It is started and stopped using the `startAutoReload` and `stopAutoReload` action creators of the `logPosition` slice. These are used by the streaming toggle button besides the date picker to toggle a 5s polling interval:\r\n\r\n**idle**\r\n![image](https://user-images.githubusercontent.com/973741/44356574-07fcaf80-a4b0-11e8-8ae2-f4c81a6c7a93.png)\r\n\r\n**streaming**\r\n![image](https://user-images.githubusercontent.com/973741/44356666-45613d00-a4b0-11e8-8be1-4b055c40aad9.png)\r\n\r\nWhile streaming is enabled, the log text jumps to the bottom and a loading indicator is displayed, which contains the time since the last polling cycle to indicate the age of the currently displayed data.\r\n\r\n![image](https://user-images.githubusercontent.com/973741/44356695-60cc4800-a4b0-11e8-9b43-39b9098cac9a.png)"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/414427481","html_url":"https://github.com/elastic/kibana/pull/22008#issuecomment-414427481","issue_url":"https://api.github.com/repos/elastic/kibana/issues/22008","id":414427481,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQyNzQ4MQ==","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-08-20T19:04:23Z","updated_at":"2018-08-20T19:04:23Z","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/464/)\n\n"}}
{"actor":{"display_login":"elasticmachine"}}