{"action":"opened","number":229,"pull_request":{"url":"https://api.github.com/repos/dalibo/pgbadger/pulls/229","id":31210351,"html_url":"https://github.com/dalibo/pgbadger/pull/229","diff_url":"https://github.com/dalibo/pgbadger/pull/229.diff","patch_url":"https://github.com/dalibo/pgbadger/pull/229.patch","issue_url":"https://api.github.com/repos/dalibo/pgbadger/issues/229","number":229,"state":"open","locked":false,"title":"Added option to output top queries to CSV format, for follow-up analysis...","user":{"login":"bricklen","id":2569383,"avatar_url":"https://avatars.githubusercontent.com/u/2569383?v=3","gravatar_id":"","url":"https://api.github.com/users/bricklen","html_url":"https://github.com/bricklen","followers_url":"https://api.github.com/users/bricklen/followers","following_url":"https://api.github.com/users/bricklen/following{/other_user}","gists_url":"https://api.github.com/users/bricklen/gists{/gist_id}","starred_url":"https://api.github.com/users/bricklen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricklen/subscriptions","organizations_url":"https://api.github.com/users/bricklen/orgs","repos_url":"https://api.github.com/users/bricklen/repos","events_url":"https://api.github.com/users/bricklen/events{/privacy}","received_events_url":"https://api.github.com/users/bricklen/received_events","type":"User","site_admin":false},"body":"Currently only works for the top (normalized) queries.\r\nNote: I would like to have made this a bit more full-featured, for example, by adding more switches to output only top-normalized-queries, slowest-queries, most-time-consuming-queries etc, but I have run out of time for now.","created_at":"2015-03-16T00:08:58Z","updated_at":"2015-03-16T00:08:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f0d3fa51a60d4b59e1d07f3355951cae0a69b98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dalibo/pgbadger/pulls/229/commits","review_comments_url":"https://api.github.com/repos/dalibo/pgbadger/pulls/229/comments","review_comment_url":"https://api.github.com/repos/dalibo/pgbadger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dalibo/pgbadger/issues/229/comments","statuses_url":"https://api.github.com/repos/dalibo/pgbadger/statuses/b3ccecec80e872262ed742478d4ccda11e7e4d57","head":{"label":"bricklen:master","ref":"master","sha":"b3ccecec80e872262ed742478d4ccda11e7e4d57","user":{"login":"bricklen","id":2569383,"avatar_url":"https://avatars.githubusercontent.com/u/2569383?v=3","gravatar_id":"","url":"https://api.github.com/users/bricklen","html_url":"https://github.com/bricklen","followers_url":"https://api.github.com/users/bricklen/followers","following_url":"https://api.github.com/users/bricklen/following{/other_user}","gists_url":"https://api.github.com/users/bricklen/gists{/gist_id}","starred_url":"https://api.github.com/users/bricklen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricklen/subscriptions","organizations_url":"https://api.github.com/users/bricklen/orgs","repos_url":"https://api.github.com/users/bricklen/repos","events_url":"https://api.github.com/users/bricklen/events{/privacy}","received_events_url":"https://api.github.com/users/bricklen/received_events","type":"User","site_admin":false},"repo":{"id":32290716,"name":"pgbadger","full_name":"bricklen/pgbadger","owner":{"login":"bricklen","id":2569383,"avatar_url":"https://avatars.githubusercontent.com/u/2569383?v=3","gravatar_id":"","url":"https://api.github.com/users/bricklen","html_url":"https://github.com/bricklen","followers_url":"https://api.github.com/users/bricklen/followers","following_url":"https://api.github.com/users/bricklen/following{/other_user}","gists_url":"https://api.github.com/users/bricklen/gists{/gist_id}","starred_url":"https://api.github.com/users/bricklen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricklen/subscriptions","organizations_url":"https://api.github.com/users/bricklen/orgs","repos_url":"https://api.github.com/users/bricklen/repos","events_url":"https://api.github.com/users/bricklen/events{/privacy}","received_events_url":"https://api.github.com/users/bricklen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bricklen/pgbadger","description":"a fast PostgreSQL Log Analyzer","fork":true,"url":"https://api.github.com/repos/bricklen/pgbadger","forks_url":"https://api.github.com/repos/bricklen/pgbadger/forks","keys_url":"https://api.github.com/repos/bricklen/pgbadger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bricklen/pgbadger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bricklen/pgbadger/teams","hooks_url":"https://api.github.com/repos/bricklen/pgbadger/hooks","issue_events_url":"https://api.github.com/repos/bricklen/pgbadger/issues/events{/number}","events_url":"https://api.github.com/repos/bricklen/pgbadger/events","assignees_url":"https://api.github.com/repos/bricklen/pgbadger/assignees{/user}","branches_url":"https://api.github.com/repos/bricklen/pgbadger/branches{/branch}","tags_url":"https://api.github.com/repos/bricklen/pgbadger/tags","blobs_url":"https://api.github.com/repos/bricklen/pgbadger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bricklen/pgbadger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bricklen/pgbadger/git/refs{/sha}","trees_url":"https://api.github.com/repos/bricklen/pgbadger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bricklen/pgbadger/statuses/{sha}","languages_url":"https://api.github.com/repos/bricklen/pgbadger/languages","stargazers_url":"https://api.github.com/repos/bricklen/pgbadger/stargazers","contributors_url":"https://api.github.com/repos/bricklen/pgbadger/contributors","subscribers_url":"https://api.github.com/repos/bricklen/pgbadger/subscribers","subscription_url":"https://api.github.com/repos/bricklen/pgbadger/subscription","commits_url":"https://api.github.com/repos/bricklen/pgbadger/commits{/sha}","git_commits_url":"https://api.github.com/repos/bricklen/pgbadger/git/commits{/sha}","comments_url":"https://api.github.com/repos/bricklen/pgbadger/comments{/number}","issue_comment_url":"https://api.github.com/repos/bricklen/pgbadger/issues/comments{/number}","contents_url":"https://api.github.com/repos/bricklen/pgbadger/contents/{+path}","compare_url":"https://api.github.com/repos/bricklen/pgbadger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bricklen/pgbadger/merges","archive_url":"https://api.github.com/repos/bricklen/pgbadger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bricklen/pgbadger/downloads","issues_url":"https://api.github.com/repos/bricklen/pgbadger/issues{/number}","pulls_url":"https://api.github.com/repos/bricklen/pgbadger/pulls{/number}","milestones_url":"https://api.github.com/repos/bricklen/pgbadger/milestones{/number}","notifications_url":"https://api.github.com/repos/bricklen/pgbadger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bricklen/pgbadger/labels{/name}","releases_url":"https://api.github.com/repos/bricklen/pgbadger/releases{/id}","created_at":"2015-03-15T23:48:50Z","updated_at":"2015-03-16T00:04:37Z","pushed_at":"2015-03-16T00:04:36Z","git_url":"git://github.com/bricklen/pgbadger.git","ssh_url":"git@github.com:bricklen/pgbadger.git","clone_url":"https://github.com/bricklen/pgbadger.git","svn_url":"https://github.com/bricklen/pgbadger","homepage":"http://dalibo.github.io/pgbadger/","size":13402,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dalibo:master","ref":"master","sha":"3dc9a2fbd05f62e0fc26e4a351a8df9784aa39d1","user":{"login":"dalibo","id":182275,"avatar_url":"https://avatars.githubusercontent.com/u/182275?v=3","gravatar_id":"","url":"https://api.github.com/users/dalibo","html_url":"https://github.com/dalibo","followers_url":"https://api.github.com/users/dalibo/followers","following_url":"https://api.github.com/users/dalibo/following{/other_user}","gists_url":"https://api.github.com/users/dalibo/gists{/gist_id}","starred_url":"https://api.github.com/users/dalibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalibo/subscriptions","organizations_url":"https://api.github.com/users/dalibo/orgs","repos_url":"https://api.github.com/users/dalibo/repos","events_url":"https://api.github.com/users/dalibo/events{/privacy}","received_events_url":"https://api.github.com/users/dalibo/received_events","type":"Organization","site_admin":false},"repo":{"id":3992324,"name":"pgbadger","full_name":"dalibo/pgbadger","owner":{"login":"dalibo","id":182275,"avatar_url":"https://avatars.githubusercontent.com/u/182275?v=3","gravatar_id":"","url":"https://api.github.com/users/dalibo","html_url":"https://github.com/dalibo","followers_url":"https://api.github.com/users/dalibo/followers","following_url":"https://api.github.com/users/dalibo/following{/other_user}","gists_url":"https://api.github.com/users/dalibo/gists{/gist_id}","starred_url":"https://api.github.com/users/dalibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalibo/subscriptions","organizations_url":"https://api.github.com/users/dalibo/orgs","repos_url":"https://api.github.com/users/dalibo/repos","events_url":"https://api.github.com/users/dalibo/events{/privacy}","received_events_url":"https://api.github.com/users/dalibo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dalibo/pgbadger","description":"a fast PostgreSQL Log Analyzer","fork":false,"url":"https://api.github.com/repos/dalibo/pgbadger","forks_url":"https://api.github.com/repos/dalibo/pgbadger/forks","keys_url":"https://api.github.com/repos/dalibo/pgbadger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dalibo/pgbadger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dalibo/pgbadger/teams","hooks_url":"https://api.github.com/repos/dalibo/pgbadger/hooks","issue_events_url":"https://api.github.com/repos/dalibo/pgbadger/issues/events{/number}","events_url":"https://api.github.com/repos/dalibo/pgbadger/events","assignees_url":"https://api.github.com/repos/dalibo/pgbadger/assignees{/user}","branches_url":"https://api.github.com/repos/dalibo/pgbadger/branches{/branch}","tags_url":"https://api.github.com/repos/dalibo/pgbadger/tags","blobs_url":"https://api.github.com/repos/dalibo/pgbadger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dalibo/pgbadger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dalibo/pgbadger/git/refs{/sha}","trees_url":"https://api.github.com/repos/dalibo/pgbadger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dalibo/pgbadger/statuses/{sha}","languages_url":"https://api.github.com/repos/dalibo/pgbadger/languages","stargazers_url":"https://api.github.com/repos/dalibo/pgbadger/stargazers","contributors_url":"https://api.github.com/repos/dalibo/pgbadger/contributors","subscribers_url":"https://api.github.com/repos/dalibo/pgbadger/subscribers","subscription_url":"https://api.github.com/repos/dalibo/pgbadger/subscription","commits_url":"https://api.github.com/repos/dalibo/pgbadger/commits{/sha}","git_commits_url":"https://api.github.com/repos/dalibo/pgbadger/git/commits{/sha}","comments_url":"https://api.github.com/repos/dalibo/pgbadger/comments{/number}","issue_comment_url":"https://api.github.com/repos/dalibo/pgbadger/issues/comments{/number}","contents_url":"https://api.github.com/repos/dalibo/pgbadger/contents/{+path}","compare_url":"https://api.github.com/repos/dalibo/pgbadger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dalibo/pgbadger/merges","archive_url":"https://api.github.com/repos/dalibo/pgbadger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dalibo/pgbadger/downloads","issues_url":"https://api.github.com/repos/dalibo/pgbadger/issues{/number}","pulls_url":"https://api.github.com/repos/dalibo/pgbadger/pulls{/number}","milestones_url":"https://api.github.com/repos/dalibo/pgbadger/milestones{/number}","notifications_url":"https://api.github.com/repos/dalibo/pgbadger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dalibo/pgbadger/labels{/name}","releases_url":"https://api.github.com/repos/dalibo/pgbadger/releases{/id}","created_at":"2012-04-11T10:09:17Z","updated_at":"2015-03-10T06:31:22Z","pushed_at":"2015-03-05T16:32:24Z","git_url":"git://github.com/dalibo/pgbadger.git","ssh_url":"git@github.com:dalibo/pgbadger.git","clone_url":"https://github.com/dalibo/pgbadger.git","svn_url":"https://github.com/dalibo/pgbadger","homepage":"http://dalibo.github.io/pgbadger/","size":13402,"stargazers_count":449,"watchers_count":449,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":77,"mirror_url":null,"open_issues_count":18,"forks":77,"open_issues":18,"watchers":449,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dalibo/pgbadger/pulls/229"},"html":{"href":"https://github.com/dalibo/pgbadger/pull/229"},"issue":{"href":"https://api.github.com/repos/dalibo/pgbadger/issues/229"},"comments":{"href":"https://api.github.com/repos/dalibo/pgbadger/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/dalibo/pgbadger/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/dalibo/pgbadger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dalibo/pgbadger/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/dalibo/pgbadger/statuses/b3ccecec80e872262ed742478d4ccda11e7e4d57"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":73,"deletions":10,"changed_files":2}}