{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/10525","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/10525/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/10525/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/10525/events","html_url":"https://github.com/grafana/grafana/issues/10525","id":288828874,"node_id":"MDU6SXNzdWUyODg4Mjg4NzQ=","number":10525,"title":"template search_type count 400 bad Request","user":{"login":"PGDream","id":6630520,"node_id":"MDQ6VXNlcjY2MzA1MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/6630520?v=4","gravatar_id":"","url":"https://api.github.com/users/PGDream","html_url":"https://github.com/PGDream","followers_url":"https://api.github.com/users/PGDream/followers","following_url":"https://api.github.com/users/PGDream/following{/other_user}","gists_url":"https://api.github.com/users/PGDream/gists{/gist_id}","starred_url":"https://api.github.com/users/PGDream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PGDream/subscriptions","organizations_url":"https://api.github.com/users/PGDream/orgs","repos_url":"https://api.github.com/users/PGDream/repos","events_url":"https://api.github.com/users/PGDream/events{/privacy}","received_events_url":"https://api.github.com/users/PGDream/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-16T08:58:29Z","updated_at":"2018-07-09T07:18:10Z","closed_at":"2018-01-16T09:43:49Z","author_association":"NONE","body":"- version describe \r\n> elasticsearch 5.5.0\r\n> grafana 4.6.0\r\n- error info\r\n> http://xxxx/api/datasources/proxy/16/_msearch?search_type=count\r\n> Query String Parameters\r\n> search_type:count\r\n> request body\r\n> {\"search_type\":\"count\",\"ignore_unavailable\":true,\"index\":\"polaris-monitor\"}\r\n{\"size\":0,\"query\":{\"bool\":{\"filter\":[{\"range\":{\"create_time\":{\"gte\":\"1515465724574\",\"lte\":\"1516092124574\",\"format\":\"epoch_millis\"}}},{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}]}},\"aggs\":{\"1\":{\"terms\":{\"field\":\"product_name\",\"size\":500,\"order\":{\"_term\":\"asc\"}}}}}\r\n> response error\r\n> Template variables could not be initialized: Elasticsearch error: No search type for [count]"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/403383159","html_url":"https://github.com/grafana/grafana/issues/10525#issuecomment-403383159","issue_url":"https://api.github.com/repos/grafana/grafana/issues/10525","id":403383159,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzM4MzE1OQ==","user":{"login":"PGDream","id":6630520,"node_id":"MDQ6VXNlcjY2MzA1MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/6630520?v=4","gravatar_id":"","url":"https://api.github.com/users/PGDream","html_url":"https://github.com/PGDream","followers_url":"https://api.github.com/users/PGDream/followers","following_url":"https://api.github.com/users/PGDream/following{/other_user}","gists_url":"https://api.github.com/users/PGDream/gists{/gist_id}","starred_url":"https://api.github.com/users/PGDream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PGDream/subscriptions","organizations_url":"https://api.github.com/users/PGDream/orgs","repos_url":"https://api.github.com/users/PGDream/repos","events_url":"https://api.github.com/users/PGDream/events{/privacy}","received_events_url":"https://api.github.com/users/PGDream/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T07:18:10Z","updated_at":"2018-07-09T07:18:10Z","author_association":"NONE","body":"thk you, data can show!~"}}
{"actor":{"display_login":"PGDream"}}