{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5904","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5904/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5904/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5904/events","html_url":"https://github.com/elastic/kibana/issues/5904","id":126649480,"number":5904,"title":"Kibana Fails on initial load","user":{"login":"PatrickRose","id":1681612,"avatar_url":"https://avatars.githubusercontent.com/u/1681612?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickRose","html_url":"https://github.com/PatrickRose","followers_url":"https://api.github.com/users/PatrickRose/followers","following_url":"https://api.github.com/users/PatrickRose/following{/other_user}","gists_url":"https://api.github.com/users/PatrickRose/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickRose/subscriptions","organizations_url":"https://api.github.com/users/PatrickRose/orgs","repos_url":"https://api.github.com/users/PatrickRose/repos","events_url":"https://api.github.com/users/PatrickRose/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickRose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/needs%20details","name":"needs details","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-14T12:55:51Z","updated_at":"2016-01-16T12:57:33Z","closed_at":"2016-01-16T12:57:33Z","body":"Our local instance of Kibana fails for me as soon as I try to load the discover tab for the first time each day:\r\n\r\n```\r\nError: [query_phase_execution_exception] Result window is too large, from + size must be less than or equal to: [10000] but was [2147483647]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level parameter.\r\n    at respond (kibana.bundle.js:66880)\r\n    at checkRespForFailure (kibana.bundle.js:66843)\r\n    at kibana.bundle.js:65461\r\n    at wrappedErrback (commons.bundle.js:39150)\r\n    at wrappedErrback (commons.bundle.js:39150)\r\n    at wrappedErrback (commons.bundle.js:39150)\r\n    at commons.bundle.js:39283\r\n    at Scope.$eval (commons.bundle.js:40270)\r\n    at Scope.$digest (commons.bundle.js:40082)\r\n    at Scope.$apply (commons.bundle.js:40374)\r\n```\r\n\r\nFrom looking through it, there's an initial post to our elastic search instance with the body `{\"query\":{\"match_all\":{}},\"size\":2147483647}`. My current workaround is to use chrome's javascript debugging and rewrite the query to have a size of 100. Then my page starts working. Since this is a \"fresh\" load every day I'm not entirely sure where that size is coming from."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/172203712","html_url":"https://github.com/elastic/kibana/issues/5904#issuecomment-172203712","issue_url":"https://api.github.com/repos/elastic/kibana/issues/5904","id":172203712,"user":{"login":"PatrickRose","id":1681612,"avatar_url":"https://avatars.githubusercontent.com/u/1681612?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickRose","html_url":"https://github.com/PatrickRose","followers_url":"https://api.github.com/users/PatrickRose/followers","following_url":"https://api.github.com/users/PatrickRose/following{/other_user}","gists_url":"https://api.github.com/users/PatrickRose/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickRose/subscriptions","organizations_url":"https://api.github.com/users/PatrickRose/orgs","repos_url":"https://api.github.com/users/PatrickRose/repos","events_url":"https://api.github.com/users/PatrickRose/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickRose/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T12:57:33Z","updated_at":"2016-01-16T12:57:33Z","body":"Didn't happen yesterday. Will close and report back onMonday "}}