{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/rally/issues/187","repository_url":"https://api.github.com/repos/elastic/rally","labels_url":"https://api.github.com/repos/elastic/rally/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/elastic/rally/issues/187/comments","events_url":"https://api.github.com/repos/elastic/rally/issues/187/events","html_url":"https://github.com/elastic/rally/issues/187","id":191023950,"number":187,"title":"Add support for index templates","user":{"login":"danielmitterdorfer","id":1699576,"avatar_url":"https://avatars.githubusercontent.com/u/1699576?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmitterdorfer","html_url":"https://github.com/danielmitterdorfer","followers_url":"https://api.github.com/users/danielmitterdorfer/followers","following_url":"https://api.github.com/users/danielmitterdorfer/following{/other_user}","gists_url":"https://api.github.com/users/danielmitterdorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmitterdorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmitterdorfer/subscriptions","organizations_url":"https://api.github.com/users/danielmitterdorfer/orgs","repos_url":"https://api.github.com/users/danielmitterdorfer/repos","events_url":"https://api.github.com/users/danielmitterdorfer/events{/privacy}","received_events_url":"https://api.github.com/users/danielmitterdorfer/received_events","type":"User","site_admin":false},"labels":[{"id":448333637,"url":"https://api.github.com/repos/elastic/rally/labels/:Track%20Management","name":":Track Management","color":"006b75","default":false},{"id":293505213,"url":"https://api.github.com/repos/elastic/rally/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/elastic/rally/milestones/20","html_url":"https://github.com/elastic/rally/milestones/0.4.6","labels_url":"https://api.github.com/repos/elastic/rally/milestones/20/labels","id":2143905,"number":20,"title":"0.4.6","description":"","creator":{"login":"danielmitterdorfer","id":1699576,"avatar_url":"https://avatars.githubusercontent.com/u/1699576?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmitterdorfer","html_url":"https://github.com/danielmitterdorfer","followers_url":"https://api.github.com/users/danielmitterdorfer/followers","following_url":"https://api.github.com/users/danielmitterdorfer/following{/other_user}","gists_url":"https://api.github.com/users/danielmitterdorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmitterdorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmitterdorfer/subscriptions","organizations_url":"https://api.github.com/users/danielmitterdorfer/orgs","repos_url":"https://api.github.com/users/danielmitterdorfer/repos","events_url":"https://api.github.com/users/danielmitterdorfer/events{/privacy}","received_events_url":"https://api.github.com/users/danielmitterdorfer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2016-11-18T11:12:35Z","updated_at":"2016-12-07T09:06:33Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-11-22T14:36:53Z","updated_at":"2016-12-07T09:06:33Z","closed_at":"2016-12-07T09:06:33Z","body":"To simplify handling of tracks in certain cases, we should provide an ability to use [index templates](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html). The suggested syntax is:\r\n\r\n```json\r\n\"templates\": [\r\n    {\r\n                    \"name\": \"my-default-index-template\",\r\n                    \"index-pattern\": \"my-index-*\",\r\n                    \"template\": \"default-template.json\"\r\n      }\r\n]\r\n```\r\n\r\nThis element needs to be placed as a sibling to `indices`. Either `indices` or `templates` are required. It is also possible to use `indices` together with `templates`. Templates are created before indices and in the order they have been defined.\r\n\r\nUpon start of a benchmark, Rally will not delete and create individual indices but instead do:\r\n\r\n* `DELETE /my-index-*`: Note that this is done regardless of the `auto-managed` setting of the indices (see #189)\r\n* `DELETE /_template/my-default-index-template`\r\n* `PUT /_template/my-default-index-template`"}}
{"actor":{"display_login":"danielmitterdorfer"}}