{"action":"created","comment":{"url":"https://api.github.com/repos/threatgrid/ctia/pulls/comments/60081294","id":60081294,"diff_hunk":"@@ -50,7 +50,11 @@\n    (s/optional-key \"ctia.producer.es.host\") s/Str\n    (s/optional-key \"ctia.producer.es.port\") s/Int\n    (s/optional-key \"ctia.producer.es.clustername\") s/Str\n-   (s/optional-key \"ctia.producer.es.indexname\") s/Str})\n+   (s/optional-key \"ctia.producer.es.indexname\") s/Str\n+   (s/optional-key \"ctia.producer.es.slicing.strategy\")\n+   (s/enum :filtered-alias :aliased-index)\n+   (s/optional-key \"ctia.producer.es.slicing.granularity\")\n+   (s/enum :minute :hour :day :week :month :year)})","path":"src/ctia/properties.clj","position":9,"original_position":9,"commit_id":"6319070c5a5a52d98bb1117177f9ccf82912f015","original_commit_id":"6319070c5a5a52d98bb1117177f9ccf82912f015","user":{"login":"polygloton","id":368005,"avatar_url":"https://avatars.githubusercontent.com/u/368005?v=3","gravatar_id":"","url":"https://api.github.com/users/polygloton","html_url":"https://github.com/polygloton","followers_url":"https://api.github.com/users/polygloton/followers","following_url":"https://api.github.com/users/polygloton/following{/other_user}","gists_url":"https://api.github.com/users/polygloton/gists{/gist_id}","starred_url":"https://api.github.com/users/polygloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polygloton/subscriptions","organizations_url":"https://api.github.com/users/polygloton/orgs","repos_url":"https://api.github.com/users/polygloton/repos","events_url":"https://api.github.com/users/polygloton/events{/privacy}","received_events_url":"https://api.github.com/users/polygloton/received_events","type":"User","site_admin":false},"body":"Having keys and values on separate lines like this is hard to parse unless you add spaces in between.","created_at":"2016-04-18T15:39:04Z","updated_at":"2016-04-18T15:39:04Z","html_url":"https://github.com/threatgrid/ctia/pull/196#discussion_r60081294","pull_request_url":"https://api.github.com/repos/threatgrid/ctia/pulls/196","_links":{"self":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/comments/60081294"},"html":{"href":"https://github.com/threatgrid/ctia/pull/196#discussion_r60081294"},"pull_request":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/196"}}},"pull_request":{"url":"https://api.github.com/repos/threatgrid/ctia/pulls/196","id":66162646,"html_url":"https://github.com/threatgrid/ctia/pull/196","diff_url":"https://github.com/threatgrid/ctia/pull/196.diff","patch_url":"https://github.com/threatgrid/ctia/pull/196.patch","issue_url":"https://api.github.com/repos/threatgrid/ctia/issues/196","number":196,"state":"open","locked":false,"title":"ES Producer Index Slicing","user":{"login":"gbuisson","id":1433542,"avatar_url":"https://avatars.githubusercontent.com/u/1433542?v=3","gravatar_id":"","url":"https://api.github.com/users/gbuisson","html_url":"https://github.com/gbuisson","followers_url":"https://api.github.com/users/gbuisson/followers","following_url":"https://api.github.com/users/gbuisson/following{/other_user}","gists_url":"https://api.github.com/users/gbuisson/gists{/gist_id}","starred_url":"https://api.github.com/users/gbuisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbuisson/subscriptions","organizations_url":"https://api.github.com/users/gbuisson/orgs","repos_url":"https://api.github.com/users/gbuisson/repos","events_url":"https://api.github.com/users/gbuisson/events{/privacy}","received_events_url":"https://api.github.com/users/gbuisson/received_events","type":"User","site_admin":false},"body":"closes #176 \r\nInitial support for time sliced indexes on ES producer\r\n2 different strategies are supported\r\n\r\n- `aliased-index` creates an index by time range, for each Index created, the same alias.\r\n- `filtered-alias`creates a single Index with a date range filtered alias for each time range.\r\n\r\ngranularity can be configured and set to either minute hour day week month year.  ","created_at":"2016-04-12T14:02:02Z","updated_at":"2016-04-18T15:39:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08996ac184a81d1be1392ddcd7f0aac193bc27ad","assignee":{"login":"polygloton","id":368005,"avatar_url":"https://avatars.githubusercontent.com/u/368005?v=3","gravatar_id":"","url":"https://api.github.com/users/polygloton","html_url":"https://github.com/polygloton","followers_url":"https://api.github.com/users/polygloton/followers","following_url":"https://api.github.com/users/polygloton/following{/other_user}","gists_url":"https://api.github.com/users/polygloton/gists{/gist_id}","starred_url":"https://api.github.com/users/polygloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polygloton/subscriptions","organizations_url":"https://api.github.com/users/polygloton/orgs","repos_url":"https://api.github.com/users/polygloton/repos","events_url":"https://api.github.com/users/polygloton/events{/privacy}","received_events_url":"https://api.github.com/users/polygloton/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/threatgrid/ctia/pulls/196/commits","review_comments_url":"https://api.github.com/repos/threatgrid/ctia/pulls/196/comments","review_comment_url":"https://api.github.com/repos/threatgrid/ctia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/threatgrid/ctia/issues/196/comments","statuses_url":"https://api.github.com/repos/threatgrid/ctia/statuses/6319070c5a5a52d98bb1117177f9ccf82912f015","head":{"label":"gbuisson:issue-#176","ref":"issue-#176","sha":"6319070c5a5a52d98bb1117177f9ccf82912f015","user":{"login":"gbuisson","id":1433542,"avatar_url":"https://avatars.githubusercontent.com/u/1433542?v=3","gravatar_id":"","url":"https://api.github.com/users/gbuisson","html_url":"https://github.com/gbuisson","followers_url":"https://api.github.com/users/gbuisson/followers","following_url":"https://api.github.com/users/gbuisson/following{/other_user}","gists_url":"https://api.github.com/users/gbuisson/gists{/gist_id}","starred_url":"https://api.github.com/users/gbuisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbuisson/subscriptions","organizations_url":"https://api.github.com/users/gbuisson/orgs","repos_url":"https://api.github.com/users/gbuisson/repos","events_url":"https://api.github.com/users/gbuisson/events{/privacy}","received_events_url":"https://api.github.com/users/gbuisson/received_events","type":"User","site_admin":false},"repo":{"id":55398099,"name":"ctia","full_name":"gbuisson/ctia","owner":{"login":"gbuisson","id":1433542,"avatar_url":"https://avatars.githubusercontent.com/u/1433542?v=3","gravatar_id":"","url":"https://api.github.com/users/gbuisson","html_url":"https://github.com/gbuisson","followers_url":"https://api.github.com/users/gbuisson/followers","following_url":"https://api.github.com/users/gbuisson/following{/other_user}","gists_url":"https://api.github.com/users/gbuisson/gists{/gist_id}","starred_url":"https://api.github.com/users/gbuisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbuisson/subscriptions","organizations_url":"https://api.github.com/users/gbuisson/orgs","repos_url":"https://api.github.com/users/gbuisson/repos","events_url":"https://api.github.com/users/gbuisson/events{/privacy}","received_events_url":"https://api.github.com/users/gbuisson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gbuisson/ctia","description":"Cisco Threat Intelligence API","fork":true,"url":"https://api.github.com/repos/gbuisson/ctia","forks_url":"https://api.github.com/repos/gbuisson/ctia/forks","keys_url":"https://api.github.com/repos/gbuisson/ctia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gbuisson/ctia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gbuisson/ctia/teams","hooks_url":"https://api.github.com/repos/gbuisson/ctia/hooks","issue_events_url":"https://api.github.com/repos/gbuisson/ctia/issues/events{/number}","events_url":"https://api.github.com/repos/gbuisson/ctia/events","assignees_url":"https://api.github.com/repos/gbuisson/ctia/assignees{/user}","branches_url":"https://api.github.com/repos/gbuisson/ctia/branches{/branch}","tags_url":"https://api.github.com/repos/gbuisson/ctia/tags","blobs_url":"https://api.github.com/repos/gbuisson/ctia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gbuisson/ctia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gbuisson/ctia/git/refs{/sha}","trees_url":"https://api.github.com/repos/gbuisson/ctia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gbuisson/ctia/statuses/{sha}","languages_url":"https://api.github.com/repos/gbuisson/ctia/languages","stargazers_url":"https://api.github.com/repos/gbuisson/ctia/stargazers","contributors_url":"https://api.github.com/repos/gbuisson/ctia/contributors","subscribers_url":"https://api.github.com/repos/gbuisson/ctia/subscribers","subscription_url":"https://api.github.com/repos/gbuisson/ctia/subscription","commits_url":"https://api.github.com/repos/gbuisson/ctia/commits{/sha}","git_commits_url":"https://api.github.com/repos/gbuisson/ctia/git/commits{/sha}","comments_url":"https://api.github.com/repos/gbuisson/ctia/comments{/number}","issue_comment_url":"https://api.github.com/repos/gbuisson/ctia/issues/comments{/number}","contents_url":"https://api.github.com/repos/gbuisson/ctia/contents/{+path}","compare_url":"https://api.github.com/repos/gbuisson/ctia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gbuisson/ctia/merges","archive_url":"https://api.github.com/repos/gbuisson/ctia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gbuisson/ctia/downloads","issues_url":"https://api.github.com/repos/gbuisson/ctia/issues{/number}","pulls_url":"https://api.github.com/repos/gbuisson/ctia/pulls{/number}","milestones_url":"https://api.github.com/repos/gbuisson/ctia/milestones{/number}","notifications_url":"https://api.github.com/repos/gbuisson/ctia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gbuisson/ctia/labels{/name}","releases_url":"https://api.github.com/repos/gbuisson/ctia/releases{/id}","deployments_url":"https://api.github.com/repos/gbuisson/ctia/deployments","created_at":"2016-04-04T09:10:25Z","updated_at":"2016-04-04T09:10:26Z","pushed_at":"2016-04-18T15:26:24Z","git_url":"git://github.com/gbuisson/ctia.git","ssh_url":"git@github.com:gbuisson/ctia.git","clone_url":"https://github.com/gbuisson/ctia.git","svn_url":"https://github.com/gbuisson/ctia","homepage":"","size":992,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"threatgrid:master","ref":"master","sha":"ac03d1d187793e77e829d6d1e35c6dff2375e777","user":{"login":"threatgrid","id":337733,"avatar_url":"https://avatars.githubusercontent.com/u/337733?v=3","gravatar_id":"","url":"https://api.github.com/users/threatgrid","html_url":"https://github.com/threatgrid","followers_url":"https://api.github.com/users/threatgrid/followers","following_url":"https://api.github.com/users/threatgrid/following{/other_user}","gists_url":"https://api.github.com/users/threatgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/threatgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threatgrid/subscriptions","organizations_url":"https://api.github.com/users/threatgrid/orgs","repos_url":"https://api.github.com/users/threatgrid/repos","events_url":"https://api.github.com/users/threatgrid/events{/privacy}","received_events_url":"https://api.github.com/users/threatgrid/received_events","type":"Organization","site_admin":false},"repo":{"id":47668849,"name":"ctia","full_name":"threatgrid/ctia","owner":{"login":"threatgrid","id":337733,"avatar_url":"https://avatars.githubusercontent.com/u/337733?v=3","gravatar_id":"","url":"https://api.github.com/users/threatgrid","html_url":"https://github.com/threatgrid","followers_url":"https://api.github.com/users/threatgrid/followers","following_url":"https://api.github.com/users/threatgrid/following{/other_user}","gists_url":"https://api.github.com/users/threatgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/threatgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threatgrid/subscriptions","organizations_url":"https://api.github.com/users/threatgrid/orgs","repos_url":"https://api.github.com/users/threatgrid/repos","events_url":"https://api.github.com/users/threatgrid/events{/privacy}","received_events_url":"https://api.github.com/users/threatgrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/threatgrid/ctia","description":"Cisco Threat Intelligence API","fork":false,"url":"https://api.github.com/repos/threatgrid/ctia","forks_url":"https://api.github.com/repos/threatgrid/ctia/forks","keys_url":"https://api.github.com/repos/threatgrid/ctia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/threatgrid/ctia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/threatgrid/ctia/teams","hooks_url":"https://api.github.com/repos/threatgrid/ctia/hooks","issue_events_url":"https://api.github.com/repos/threatgrid/ctia/issues/events{/number}","events_url":"https://api.github.com/repos/threatgrid/ctia/events","assignees_url":"https://api.github.com/repos/threatgrid/ctia/assignees{/user}","branches_url":"https://api.github.com/repos/threatgrid/ctia/branches{/branch}","tags_url":"https://api.github.com/repos/threatgrid/ctia/tags","blobs_url":"https://api.github.com/repos/threatgrid/ctia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/threatgrid/ctia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/threatgrid/ctia/git/refs{/sha}","trees_url":"https://api.github.com/repos/threatgrid/ctia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/threatgrid/ctia/statuses/{sha}","languages_url":"https://api.github.com/repos/threatgrid/ctia/languages","stargazers_url":"https://api.github.com/repos/threatgrid/ctia/stargazers","contributors_url":"https://api.github.com/repos/threatgrid/ctia/contributors","subscribers_url":"https://api.github.com/repos/threatgrid/ctia/subscribers","subscription_url":"https://api.github.com/repos/threatgrid/ctia/subscription","commits_url":"https://api.github.com/repos/threatgrid/ctia/commits{/sha}","git_commits_url":"https://api.github.com/repos/threatgrid/ctia/git/commits{/sha}","comments_url":"https://api.github.com/repos/threatgrid/ctia/comments{/number}","issue_comment_url":"https://api.github.com/repos/threatgrid/ctia/issues/comments{/number}","contents_url":"https://api.github.com/repos/threatgrid/ctia/contents/{+path}","compare_url":"https://api.github.com/repos/threatgrid/ctia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/threatgrid/ctia/merges","archive_url":"https://api.github.com/repos/threatgrid/ctia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/threatgrid/ctia/downloads","issues_url":"https://api.github.com/repos/threatgrid/ctia/issues{/number}","pulls_url":"https://api.github.com/repos/threatgrid/ctia/pulls{/number}","milestones_url":"https://api.github.com/repos/threatgrid/ctia/milestones{/number}","notifications_url":"https://api.github.com/repos/threatgrid/ctia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/threatgrid/ctia/labels{/name}","releases_url":"https://api.github.com/repos/threatgrid/ctia/releases{/id}","deployments_url":"https://api.github.com/repos/threatgrid/ctia/deployments","created_at":"2015-12-09T04:41:06Z","updated_at":"2016-03-31T20:24:35Z","pushed_at":"2016-04-18T15:32:25Z","git_url":"git://github.com/threatgrid/ctia.git","ssh_url":"git@github.com:threatgrid/ctia.git","clone_url":"https://github.com/threatgrid/ctia.git","svn_url":"https://github.com/threatgrid/ctia","homepage":"","size":1048,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":60,"forks":7,"open_issues":60,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/196"},"html":{"href":"https://github.com/threatgrid/ctia/pull/196"},"issue":{"href":"https://api.github.com/repos/threatgrid/ctia/issues/196"},"comments":{"href":"https://api.github.com/repos/threatgrid/ctia/issues/196/comments"},"review_comments":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/196/comments"},"review_comment":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/196/commits"},"statuses":{"href":"https://api.github.com/repos/threatgrid/ctia/statuses/6319070c5a5a52d98bb1117177f9ccf82912f015"}}}}