{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25309","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25309/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25309/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25309/events","html_url":"https://github.com/kubernetes/kubernetes/pull/25309","id":153597505,"number":25309,"title":"add index template for es aggregations","user":{"login":"keontang","id":17756696,"avatar_url":"https://avatars.githubusercontent.com/u/17756696?v=3","gravatar_id":"","url":"https://api.github.com/users/keontang","html_url":"https://github.com/keontang","followers_url":"https://api.github.com/users/keontang/followers","following_url":"https://api.github.com/users/keontang/following{/other_user}","gists_url":"https://api.github.com/users/keontang/gists{/gist_id}","starred_url":"https://api.github.com/users/keontang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keontang/subscriptions","organizations_url":"https://api.github.com/users/keontang/orgs","repos_url":"https://api.github.com/users/keontang/repos","events_url":"https://api.github.com/users/keontang/events{/privacy}","received_events_url":"https://api.github.com/users/keontang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lgtm","name":"lgtm","color":"15dd18"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-ok-to-merge","name":"needs-ok-to-merge","color":"ededed"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00"}],"state":"open","locked":false,"assignee":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2016-05-07T14:28:04Z","updated_at":"2016-05-11T06:58:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/25309","html_url":"https://github.com/kubernetes/kubernetes/pull/25309","diff_url":"https://github.com/kubernetes/kubernetes/pull/25309.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/25309.patch"},"body":"This index template helps us to do es aggregations of namespace_name, pod_name and container_name. Then after doing eggs, we will get the whole name not all the spilt pieces.  \r\nfix #25127  "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/218377894","html_url":"https://github.com/kubernetes/kubernetes/pull/25309#issuecomment-218377894","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25309","id":218377894,"user":{"login":"keontang","id":17756696,"avatar_url":"https://avatars.githubusercontent.com/u/17756696?v=3","gravatar_id":"","url":"https://api.github.com/users/keontang","html_url":"https://github.com/keontang","followers_url":"https://api.github.com/users/keontang/followers","following_url":"https://api.github.com/users/keontang/following{/other_user}","gists_url":"https://api.github.com/users/keontang/gists{/gist_id}","starred_url":"https://api.github.com/users/keontang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keontang/subscriptions","organizations_url":"https://api.github.com/users/keontang/orgs","repos_url":"https://api.github.com/users/keontang/repos","events_url":"https://api.github.com/users/keontang/events{/privacy}","received_events_url":"https://api.github.com/users/keontang/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T06:58:39Z","updated_at":"2016-05-11T06:58:39Z","body":"Thanks @jimmidyson ! I will check the elasticsearch-template.json later.  \r\n\r\n> Sorry I'm away this week but quick look seems OK, although I'm thinking it might be better to reuse the logstash upstream template? Something like https://github.com/logstash-plugins/logstash-output-elasticsearch/blob/master/lib/logstash/outputs/elasticsearch/elasticsearch-template.json"}}