{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/9063","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/9063/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/9063/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/9063/events","html_url":"https://github.com/elastic/kibana/issues/9063","id":189096606,"number":9063,"title":"Kibana page doesn't load due to unrecognized ES parameter \"_\" (underscore)","user":{"login":"kasabov","id":10500163,"avatar_url":"https://avatars.githubusercontent.com/u/10500163?v=3","gravatar_id":"","url":"https://api.github.com/users/kasabov","html_url":"https://github.com/kasabov","followers_url":"https://api.github.com/users/kasabov/followers","following_url":"https://api.github.com/users/kasabov/following{/other_user}","gists_url":"https://api.github.com/users/kasabov/gists{/gist_id}","starred_url":"https://api.github.com/users/kasabov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasabov/subscriptions","organizations_url":"https://api.github.com/users/kasabov/orgs","repos_url":"https://api.github.com/users/kasabov/repos","events_url":"https://api.github.com/users/kasabov/events{/privacy}","received_events_url":"https://api.github.com/users/kasabov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-14T12:07:27Z","updated_at":"2016-11-15T16:18:11Z","closed_at":null,"body":"<!--\r\nGitHub is reserved for bug reports and feature requests. The best place\r\nto ask a general question is at the Elastic Discourse forums at\r\nhttps://discuss.elastic.co. If you are in fact posting a bug report or\r\na feature request, please include one and only one of the below blocks\r\nin your new issue.\r\n-->\r\n\r\n**Kibana version**: 5.0.0\r\n\r\n**Elasticsearch version**: 5.0.0\r\n\r\n**Server OS version**: Scientific Linux 7.1 (Nitrogen) - Linux app01 3.10.0-327.3.1.el7.x86_64 #1 SMP Tue Dec 8 10:11:15 CST 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n**Browser version**: Chrome 54.0.2840.71 (64-bit)\r\n\r\n**Browser OS version**: OSX Sierra 10.12.1\r\n\r\n**Original install method (e.g. download page, yum, from source, etc.)**: 64bit RPM downloads from https://www.elastic.co/downloads\r\n\r\n**Description of the problem including expected versus actual behavior**: Latest version of Kibana includes an underscore parameter in Ajax queries towards ES. For ES, underscore is an unknown parameter and therefore an error response is returned as outlined in https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_rest_api_changes.html#_strict_rest_query_string_parameter_parsing.\r\n* actual: Kibana webpage does not load\r\n* expected: Kibana webpage loads\r\n\r\n**Steps to reproduce**:\r\n 1. Download, install and run latest ES 5.0.0 from https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.0.rpm\r\n 2. Download, install and run latest Kibana 5.0.0 from https://artifacts.elastic.co/downloads/kibana/kibana-5.0.0-x86_64.rpm\r\n 3. Open the network tab in Chrome and go to http://localhost:5601, the page is partially loaded - only the left sidebar is visible whereas the main content is missing.\r\n 4. Inspecting the network tab reveals the following request from Kibana receives an error response from ES:\r\n  * `curl 'http://localhost:9200/.kibana/_mapping/*/field/_source?_=1479119926996' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'kbn-version: 5.0.0' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36' -H 'Accept: application/json, text/plain, */*' -H -H 'Connection: keep-alive' --compressed --insecure`\r\n  * `{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"request [/.kibana/_mapping/*/field/_source] contains unrecognized parameter: [_]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"request [/.kibana/_mapping/*/field/_source] contains unrecognized parameter: [_]\"},\"status\":400}`\r\n\r\n**Errors in browser console (if relevant)**: from commons.bundle.js?v=14438:38:\r\n`Error: [illegal_argument_exception] request [/.kibana/_mapping/*/field/_source] contains unrecognized parameter: [_]\r\n    at respond (kibana.bundle.js?v=14438:14)\r\n    at checkRespForFailure (kibana.bundle.js?v=14438:14)\r\n    at kibana.bundle.js?v=14438:1\r\n    at processQueue (commons.bundle.js?v=14438:38)\r\n    at commons.bundle.js?v=14438:38\r\n    at Scope.$eval (commons.bundle.js?v=14438:39)\r\n    at Scope.$digest (commons.bundle.js?v=14438:39)\r\n    at Scope.$apply (commons.bundle.js?v=14438:39)\r\n    at done (commons.bundle.js?v=14438:37)\r\n    at completeRequest (commons.bundle.js?v=14438:37)`\r\n\r\n**Provide logs and/or server output (if relevant)**: none\r\n\r\nSince we already use HAproxy in our setup, we are currently mitigating this with a HAproxy entry which strips out the underscore param from ES requests: `reqrep ^([^\\ :]*)\\ /elasticsearch/(.*)_=[0-9]+(.*)    \\1\\ /\\2\\3`."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/260687373","html_url":"https://github.com/elastic/kibana/issues/9063#issuecomment-260687373","issue_url":"https://api.github.com/repos/elastic/kibana/issues/9063","id":260687373,"user":{"login":"Bargs","id":6239176,"avatar_url":"https://avatars.githubusercontent.com/u/6239176?v=3","gravatar_id":"","url":"https://api.github.com/users/Bargs","html_url":"https://github.com/Bargs","followers_url":"https://api.github.com/users/Bargs/followers","following_url":"https://api.github.com/users/Bargs/following{/other_user}","gists_url":"https://api.github.com/users/Bargs/gists{/gist_id}","starred_url":"https://api.github.com/users/Bargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bargs/subscriptions","organizations_url":"https://api.github.com/users/Bargs/orgs","repos_url":"https://api.github.com/users/Bargs/repos","events_url":"https://api.github.com/users/Bargs/events{/privacy}","received_events_url":"https://api.github.com/users/Bargs/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T16:18:11Z","updated_at":"2016-11-15T16:18:11Z","body":"@kasabov could you provide a screenshot of the version number and commit SHA from the management screen (click the little \"i\" icon on the right side)?"}}
{"actor":{"display_login":"Bargs"}}