GitHub PullRequestReviewCommentEvent at 2014-11-01 00:12:47
Repository: queryutils
Actor: salspaugh
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/salspaugh/queryutils/pulls/comments/19699951","id":19699951,"diff_hunk":"@@ -51,8 +50,14 @@ to set up a SQLite3 test database like the one already checked in, run:\n This creates a SQLite3 database in named sqlite3.db and load four tables\n for your querying convenience. There are also scripts that demonstrate how\n to load a Postgres database from the query logs. If you use Postgres, you\n-probably also want to set up the indices as shown in \n-`./scripts/setup_indices_postgres.sql`.\n+probably also want to set up the indices as shown in\n+`./scripts/setup_indices_postgres.sql`. You can do this by running ```psql DATABASE_NAME -f scripts/setup_indices_postgres.sql```.\n+\n+The scripts above run the ```scripts/loaddb.py``` script. To import your own log data into your own database, you would use the following line:\n+\n+```python scripts/loaddb.py -s csvfiles -d postgresdb -p PATH_TO_CSVS -u USER -w PASSWORD -b DATABASE -v format_2014```\n+\n+You would replace ```PATH_TO_CSVS``` with the path to your csv data files, ```USER``` with your user for the database, ```PASSWORD``` with the password for the database, ```DATABASE```, and if your version of logs is older than the 2014 version then you can change ```format_2014``` to either ```format_2013``` or ```format_2012```.","path":"README.md","position":35,"original_position":35,"commit_id":"9e776eedce9e3f6f77546ba20e7ae97675c95a49","original_commit_id":"9e776eedce9e3f6f77546ba20e7ae97675c95a49","user":{"login":"salspaugh","id":438870,"avatar_url":"https://avatars.githubusercontent.com/u/438870?v=2","gravatar_id":"","url":"https://api.github.com/users/salspaugh","html_url":"https://github.com/salspaugh","followers_url":"https://api.github.com/users/salspaugh/followers","following_url":"https://api.github.com/users/salspaugh/following{/other_user}","gists_url":"https://api.github.com/users/salspaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/salspaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salspaugh/subscriptions","organizations_url":"https://api.github.com/users/salspaugh/orgs","repos_url":"https://api.github.com/users/salspaugh/repos","events_url":"https://api.github.com/users/salspaugh/events{/privacy}","received_events_url":"https://api.github.com/users/salspaugh/received_events","type":"User","site_admin":false},"body":"\"with the path to your csv data files\" -> \"with the path to your .csv files containing your Splunk queries extracted using the above Splunk query\"","created_at":"2014-11-01T00:12:47Z","updated_at":"2014-11-01T00:12:47Z","html_url":"https://github.com/salspaugh/queryutils/pull/13#discussion_r19699951","pull_request_url":"https://api.github.com/repos/salspaugh/queryutils/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/salspaugh/queryutils/pulls/comments/19699951"},"html":{"href":"https://github.com/salspaugh/queryutils/pull/13#discussion_r19699951"},"pull_request":{"href":"https://api.github.com/repos/salspaugh/queryutils/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/salspaugh/queryutils/pulls/13","id":23712953,"html_url":"https://github.com/salspaugh/queryutils/pull/13","diff_url":"https://github.com/salspaugh/queryutils/pull/13.diff","patch_url":"https://github.com/salspaugh/queryutils/pull/13.patch","issue_url":"https://api.github.com/repos/salspaugh/queryutils/issues/13","number":13,"state":"open","locked":false,"title":"Transformations","user":{"login":"jaytlin","id":4173338,"avatar_url":"https://avatars.githubusercontent.com/u/4173338?v=2","gravatar_id":"","url":"https://api.github.com/users/jaytlin","html_url":"https://github.com/jaytlin","followers_url":"https://api.github.com/users/jaytlin/followers","following_url":"https://api.github.com/users/jaytlin/following{/other_user}","gists_url":"https://api.github.com/users/jaytlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jaytlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaytlin/subscriptions","organizations_url":"https://api.github.com/users/jaytlin/orgs","repos_url":"https://api.github.com/users/jaytlin/repos","events_url":"https://api.github.com/users/jaytlin/events{/privacy}","received_events_url":"https://api.github.com/users/jaytlin/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-01T00:06:46Z","updated_at":"2014-11-01T00:12:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ee4d58bc4f5d794226880452a36412c409eabf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/salspaugh/queryutils/pulls/13/commits","review_comments_url":"https://api.github.com/repos/salspaugh/queryutils/pulls/13/comments","review_comment_url":"https://api.github.com/repos/salspaugh/queryutils/pulls/comments/{number}","comments_url":"https://api.github.com/repos/salspaugh/queryutils/issues/13/comments","statuses_url":"https://api.github.com/repos/salspaugh/queryutils/statuses/9e776eedce9e3f6f77546ba20e7ae97675c95a49","head":{"label":"salspaugh:transformations","ref":"transformations","sha":"9e776eedce9e3f6f77546ba20e7ae97675c95a49","user":{"login":"salspaugh","id":438870,"avatar_url":"https://avatars.githubusercontent.com/u/438870?v=2","gravatar_id":"","url":"https://api.github.com/users/salspaugh","html_url":"https://github.com/salspaugh","followers_url":"https://api.github.com/users/salspaugh/followers","following_url":"https://api.github.com/users/salspaugh/following{/other_user}","gists_url":"https://api.github.com/users/salspaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/salspaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salspaugh/subscriptions","organizations_url":"https://api.github.com/users/salspaugh/orgs","repos_url":"https://api.github.com/users/salspaugh/repos","events_url":"https://api.github.com/users/salspaugh/events{/privacy}","received_events_url":"https://api.github.com/users/salspaugh/received_events","type":"User","site_admin":false},"repo":{"id":8765072,"name":"queryutils","full_name":"salspaugh/queryutils","owner":{"login":"salspaugh","id":438870,"avatar_url":"https://avatars.githubusercontent.com/u/438870?v=2","gravatar_id":"","url":"https://api.github.com/users/salspaugh","html_url":"https://github.com/salspaugh","followers_url":"https://api.github.com/users/salspaugh/followers","following_url":"https://api.github.com/users/salspaugh/following{/other_user}","gists_url":"https://api.github.com/users/salspaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/salspaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salspaugh/subscriptions","organizations_url":"https://api.github.com/users/salspaugh/orgs","repos_url":"https://api.github.com/users/salspaugh/repos","events_url":"https://api.github.com/users/salspaugh/events{/privacy}","received_events_url":"https://api.github.com/users/salspaugh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/salspaugh/queryutils","description":"Utilities for more easily handling my query data sets; things I find myself re-implementing too often.","fork":false,"url":"https://api.github.com/repos/salspaugh/queryutils","forks_url":"https://api.github.com/repos/salspaugh/queryutils/forks","keys_url":"https://api.github.com/repos/salspaugh/queryutils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/salspaugh/queryutils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/salspaugh/queryutils/teams","hooks_url":"https://api.github.com/repos/salspaugh/queryutils/hooks","issue_events_url":"https://api.github.com/repos/salspaugh/queryutils/issues/events{/number}","events_url":"https://api.github.com/repos/salspaugh/queryutils/events","assignees_url":"https://api.github.com/repos/salspaugh/queryutils/assignees{/user}","branches_url":"https://api.github.com/repos/salspaugh/queryutils/branches{/branch}","tags_url":"https://api.github.com/repos/salspaugh/queryutils/tags","blobs_url":"https://api.github.com/repos/salspaugh/queryutils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/salspaugh/queryutils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/salspaugh/queryutils/git/refs{/sha}","trees_url":"https://api.github.com/repos/salspaugh/queryutils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/salspaugh/queryutils/statuses/{sha}","languages_url":"https://api.github.com/repos/salspaugh/queryutils/languages","stargazers_url":"https://api.github.com/repos/salspaugh/queryutils/stargazers","contributors_url":"https://api.github.com/repos/salspaugh/queryutils/contributors","subscribers_url":"https://api.github.com/repos/salspaugh/queryutils/subscribers","subscription_url":"https://api.github.com/repos/salspaugh/queryutils/subscription","commits_url":"https://api.github.com/repos/salspaugh/queryutils/commits{/sha}","git_commits_url":"https://api.github.com/repos/salspaugh/queryutils/git/commits{/sha}","comments_url":"https://api.github.com/repos/salspaugh/queryutils/comments{/number}","issue_comment_url":"https://api.github.com/repos/salspaugh/queryutils/issues/comments/{number}","contents_url":"https://api.github.com/repos/salspaugh/queryutils/contents/{+path}","compare_url":"https://api.github.com/repos/salspaugh/queryutils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/salspaugh/queryutils/merges","archive_url":"https://api.github.com/repos/salspaugh/queryutils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/salspaugh/queryutils/downloads","issues_url":"https://api.github.com/repos/salspaugh/queryutils/issues{/number}","pulls_url":"https://api.github.com/repos/salspaugh/queryutils/pulls{/number}","milestones_url":"https://api.github.com/repos/salspaugh/queryutils/milestones{/number}","notifications_url":"https://api.github.com/repos/salspaugh/queryutils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/salspaugh/queryutils/labels{/name}","releases_url":"https://api.github.com/repos/salspaugh/queryutils/releases{/id}","created_at":"2013-03-14T00:53:08Z","updated_at":"2014-10-21T00:58:03Z","pushed_at":"2014-10-27T23:00:00Z","git_url":"git://github.com/salspaugh/queryutils.git","ssh_url":"git@github.com:salspaugh/queryutils.git","clone_url":"https://github.com/salspaugh/queryutils.git","svn_url":"https://github.com/salspaugh/queryutils","homepage":null,"size":632,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"salspaugh:master","ref":"master","sha":"28f248bdf502ef98120438d2612fdaea9a45d9cf","user":{"login":"salspaugh","id":438870,"avatar_url":"https://avatars.githubusercontent.com/u/438870?v=2","gravatar_id":"","url":"https://api.github.com/users/salspaugh","html_url":"https://github.com/salspaugh","followers_url":"https://api.github.com/users/salspaugh/followers","following_url":"https://api.github.com/users/salspaugh/following{/other_user}","gists_url":"https://api.github.com/users/salspaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/salspaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salspaugh/subscriptions","organizations_url":"https://api.github.com/users/salspaugh/orgs","repos_url":"https://api.github.com/users/salspaugh/repos","events_url":"https://api.github.com/users/salspaugh/events{/privacy}","received_events_url":"https://api.github.com/users/salspaugh/received_events","type":"User","site_admin":false},"repo":{"id":8765072,"name":"queryutils","full_name":"salspaugh/queryutils","owner":{"login":"salspaugh","id":438870,"avatar_url":"https://avatars.githubusercontent.com/u/438870?v=2","gravatar_id":"","url":"https://api.github.com/users/salspaugh","html_url":"https://github.com/salspaugh","followers_url":"https://api.github.com/users/salspaugh/followers","following_url":"https://api.github.com/users/salspaugh/following{/other_user}","gists_url":"https://api.github.com/users/salspaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/salspaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salspaugh/subscriptions","organizations_url":"https://api.github.com/users/salspaugh/orgs","repos_url":"https://api.github.com/users/salspaugh/repos","events_url":"https://api.github.com/users/salspaugh/events{/privacy}","received_events_url":"https://api.github.com/users/salspaugh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/salspaugh/queryutils","description":"Utilities for more easily handling my query data sets; things I find myself re-implementing too often.","fork":false,"url":"https://api.github.com/repos/salspaugh/queryutils","forks_url":"https://api.github.com/repos/salspaugh/queryutils/forks","keys_url":"https://api.github.com/repos/salspaugh/queryutils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/salspaugh/queryutils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/salspaugh/queryutils/teams","hooks_url":"https://api.github.com/repos/salspaugh/queryutils/hooks","issue_events_url":"https://api.github.com/repos/salspaugh/queryutils/issues/events{/number}","events_url":"https://api.github.com/repos/salspaugh/queryutils/events","assignees_url":"https://api.github.com/repos/salspaugh/queryutils/assignees{/user}","branches_url":"https://api.github.com/repos/salspaugh/queryutils/branches{/branch}","tags_url":"https://api.github.com/repos/salspaugh/queryutils/tags","blobs_url":"https://api.github.com/repos/salspaugh/queryutils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/salspaugh/queryutils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/salspaugh/queryutils/git/refs{/sha}","trees_url":"https://api.github.com/repos/salspaugh/queryutils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/salspaugh/queryutils/statuses/{sha}","languages_url":"https://api.github.com/repos/salspaugh/queryutils/languages","stargazers_url":"https://api.github.com/repos/salspaugh/queryutils/stargazers","contributors_url":"https://api.github.com/repos/salspaugh/queryutils/contributors","subscribers_url":"https://api.github.com/repos/salspaugh/queryutils/subscribers","subscription_url":"https://api.github.com/repos/salspaugh/queryutils/subscription","commits_url":"https://api.github.com/repos/salspaugh/queryutils/commits{/sha}","git_commits_url":"https://api.github.com/repos/salspaugh/queryutils/git/commits{/sha}","comments_url":"https://api.github.com/repos/salspaugh/queryutils/comments{/number}","issue_comment_url":"https://api.github.com/repos/salspaugh/queryutils/issues/comments/{number}","contents_url":"https://api.github.com/repos/salspaugh/queryutils/contents/{+path}","compare_url":"https://api.github.com/repos/salspaugh/queryutils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/salspaugh/queryutils/merges","archive_url":"https://api.github.com/repos/salspaugh/queryutils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/salspaugh/queryutils/downloads","issues_url":"https://api.github.com/repos/salspaugh/queryutils/issues{/number}","pulls_url":"https://api.github.com/repos/salspaugh/queryutils/pulls{/number}","milestones_url":"https://api.github.com/repos/salspaugh/queryutils/milestones{/number}","notifications_url":"https://api.github.com/repos/salspaugh/queryutils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/salspaugh/queryutils/labels{/name}","releases_url":"https://api.github.com/repos/salspaugh/queryutils/releases{/id}","created_at":"2013-03-14T00:53:08Z","updated_at":"2014-10-21T00:58:03Z","pushed_at":"2014-10-27T23:00:00Z","git_url":"git://github.com/salspaugh/queryutils.git","ssh_url":"git@github.com:salspaugh/queryutils.git","clone_url":"https://github.com/salspaugh/queryutils.git","svn_url":"https://github.com/salspaugh/queryutils","homepage":null,"size":632,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/salspaugh/queryutils/pulls/13"},"html":{"href":"https://github.com/salspaugh/queryutils/pull/13"},"issue":{"href":"https://api.github.com/repos/salspaugh/queryutils/issues/13"},"comments":{"href":"https://api.github.com/repos/salspaugh/queryutils/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/salspaugh/queryutils/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/salspaugh/queryutils/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/salspaugh/queryutils/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/salspaugh/queryutils/statuses/9e776eedce9e3f6f77546ba20e7ae97675c95a49"}}}}