{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/30547929","id":30547929,"diff_hunk":"@@ -0,0 +1,224 @@\n+[[getting-started]]\n+== Getting Started with Kibana\n+\n+Now that you have Kibana <<setup,installed>>, you can step through this tutorial to get fast hands-on experience with \n+key Kibana functionality. By the end of this tutorial, you will have:\n+\n+* Loaded a sample data set into your Elasticsearch installation\n+* Defined at least one index pattern\n+* Used the <<discover, Discover>> functionality to explore your data\n+* Set up some <<visualize,_visualizations_>> to graphically represent your data\n+* Assembled visualizations into a <<dashboard,Dashboard>>\n+\n+The material in this section assumes you have a working Kibana install connected to a working Elasticsearch install.\n+\n+[float]\n+[[tutorial-load-dataset]]\n+=== Before You Start: Loading Sample Data\n+\n+The tutorials in this section rely on the following data sets:\n+\n+* The complete works of William Shakespeare, suitably parsed into fields. Download this data set by clicking here: \n+https://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json[shakespeare.json].\n+* A set of fictitious accounts with randomly generated data. Download this data set by clicking here: \n+https://github.com/bly2k/files/blob/master/accounts.zip?raw=true[accounts.json]\n+\n+The Shakespeare data set is organized in the following schema:\n+\n+[source,json]\n+{\n+    \"line_id\": INT,\n+    \"play_name\": \"String\",\n+    \"speech_number\": INT,\n+    \"line_number\": \"String\",\n+    \"speaker\": \"String\",\n+    \"text_entry\": \"String\",\n+}\n+\n+The accounts data set is organized in the following schema:\n+\n+[source,json]\n+{\n+    \"account_number\": INT,\n+    \"balance\": INT,\n+    \"firstname\": \"String\",\n+    \"lastname\": \"String\",\n+    \"age\": INT,\n+    \"gender\": \"M or F\",\n+    \"address\": \"String\",\n+    \"employer\": \"String\",\n+    \"email\": \"String\",\n+    \"city\": \"String\",\n+    \"state\": \"String\"\n+}\n+\n+After downloading the data sets, load them into Elasticsearch with the following commands:\n+\n+[source,shell]\n+$ curl -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json\n+$ curl -XPOST 'localhost:9200/play/shakespeare/_bulk?pretty' --data-binary @shakespeare.json\n+\n+These commands may take some time to execute, depending on the computing resources available.\n+\n+Verify successful loading with the following command:\n+\n+[source,shell]\n+curl 'localhost:9200/_cat/indices?v'\n+\n+You should see output similar to the following:\n+\n+[source,shell]\n+health status index               pri rep docs.count docs.deleted store.size pri.store.size\n+yellow open   bank                  5   1       1000            0    418.2kb        418.2kb\n+yellow open   shakespeare           5   1     111396            0     17.6mb         17.6mb\n+\n+[float]\n+[[tutorial-define-index]]\n+=== Defining Your Index Patterns\n+\n+Each set of data loaded to Elasticsearch has an https://www.elastic.co/guide/en/kibana/current/settings.html#settings-create-pattern[index pattern]. In the previous section, the Shakespeare data set has an index named `shakespeare`, and the accounts \n+data set has an index named `bank`. An _index pattern_ is a regular expression that can ","path":"docs/getting-started.asciidoc","position":80,"original_position":80,"commit_id":"46de2986c35dca67fb17e829eff3691e0bbf3dcd","original_commit_id":"46de2986c35dca67fb17e829eff3691e0bbf3dcd","user":{"login":"rashidkpc","id":1250387,"avatar_url":"https://avatars.githubusercontent.com/u/1250387?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidkpc","html_url":"https://github.com/rashidkpc","followers_url":"https://api.github.com/users/rashidkpc/followers","following_url":"https://api.github.com/users/rashidkpc/following{/other_user}","gists_url":"https://api.github.com/users/rashidkpc/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidkpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidkpc/subscriptions","organizations_url":"https://api.github.com/users/rashidkpc/orgs","repos_url":"https://api.github.com/users/rashidkpc/repos","events_url":"https://api.github.com/users/rashidkpc/events{/privacy}","received_events_url":"https://api.github.com/users/rashidkpc/received_events","type":"User","site_admin":false},"body":"Index patterns can not use regular expressions. Its a wildcard pattern at best.","created_at":"2015-05-18T21:12:35Z","updated_at":"2015-05-18T21:12:35Z","html_url":"https://github.com/elastic/kibana/pull/3813#discussion_r30547929","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/3813","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/30547929"},"html":{"href":"https://github.com/elastic/kibana/pull/3813#discussion_r30547929"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/3813"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/3813","id":35191728,"html_url":"https://github.com/elastic/kibana/pull/3813","diff_url":"https://github.com/elastic/kibana/pull/3813.diff","patch_url":"https://github.com/elastic/kibana/pull/3813.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/3813","number":3813,"state":"open","locked":false,"title":"Adds updated doc material for the 4.1 release of Kibana","user":{"login":"palecur","id":1779279,"avatar_url":"https://avatars.githubusercontent.com/u/1779279?v=3","gravatar_id":"","url":"https://api.github.com/users/palecur","html_url":"https://github.com/palecur","followers_url":"https://api.github.com/users/palecur/followers","following_url":"https://api.github.com/users/palecur/following{/other_user}","gists_url":"https://api.github.com/users/palecur/gists{/gist_id}","starred_url":"https://api.github.com/users/palecur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecur/subscriptions","organizations_url":"https://api.github.com/users/palecur/orgs","repos_url":"https://api.github.com/users/palecur/repos","events_url":"https://api.github.com/users/palecur/events{/privacy}","received_events_url":"https://api.github.com/users/palecur/received_events","type":"User","site_admin":false},"body":"Updates K4 docs for 4.1 features. Notable changes include bubble charts from line charts, new aggregations (Percentile Rank and dedicated range aggs for dates and IPv4 addresses), UI changes (Options tab for visualizations).","created_at":"2015-05-12T04:07:03Z","updated_at":"2015-05-18T21:12:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ca93dd8a7e44a5a7e68061a84a7cbfb4cff1fa5","assignee":{"login":"tbragin","id":933397,"avatar_url":"https://avatars.githubusercontent.com/u/933397?v=3","gravatar_id":"","url":"https://api.github.com/users/tbragin","html_url":"https://github.com/tbragin","followers_url":"https://api.github.com/users/tbragin/followers","following_url":"https://api.github.com/users/tbragin/following{/other_user}","gists_url":"https://api.github.com/users/tbragin/gists{/gist_id}","starred_url":"https://api.github.com/users/tbragin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbragin/subscriptions","organizations_url":"https://api.github.com/users/tbragin/orgs","repos_url":"https://api.github.com/users/tbragin/repos","events_url":"https://api.github.com/users/tbragin/events{/privacy}","received_events_url":"https://api.github.com/users/tbragin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/3813/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/3813/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/3813/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/46de2986c35dca67fb17e829eff3691e0bbf3dcd","head":{"label":"palecur:master","ref":"master","sha":"46de2986c35dca67fb17e829eff3691e0bbf3dcd","user":{"login":"palecur","id":1779279,"avatar_url":"https://avatars.githubusercontent.com/u/1779279?v=3","gravatar_id":"","url":"https://api.github.com/users/palecur","html_url":"https://github.com/palecur","followers_url":"https://api.github.com/users/palecur/followers","following_url":"https://api.github.com/users/palecur/following{/other_user}","gists_url":"https://api.github.com/users/palecur/gists{/gist_id}","starred_url":"https://api.github.com/users/palecur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecur/subscriptions","organizations_url":"https://api.github.com/users/palecur/orgs","repos_url":"https://api.github.com/users/palecur/repos","events_url":"https://api.github.com/users/palecur/events{/privacy}","received_events_url":"https://api.github.com/users/palecur/received_events","type":"User","site_admin":false},"repo":{"id":29940741,"name":"kibana","full_name":"palecur/kibana","owner":{"login":"palecur","id":1779279,"avatar_url":"https://avatars.githubusercontent.com/u/1779279?v=3","gravatar_id":"","url":"https://api.github.com/users/palecur","html_url":"https://github.com/palecur","followers_url":"https://api.github.com/users/palecur/followers","following_url":"https://api.github.com/users/palecur/following{/other_user}","gists_url":"https://api.github.com/users/palecur/gists{/gist_id}","starred_url":"https://api.github.com/users/palecur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecur/subscriptions","organizations_url":"https://api.github.com/users/palecur/orgs","repos_url":"https://api.github.com/users/palecur/repos","events_url":"https://api.github.com/users/palecur/events{/privacy}","received_events_url":"https://api.github.com/users/palecur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palecur/kibana","description":"Kibana","fork":true,"url":"https://api.github.com/repos/palecur/kibana","forks_url":"https://api.github.com/repos/palecur/kibana/forks","keys_url":"https://api.github.com/repos/palecur/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palecur/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palecur/kibana/teams","hooks_url":"https://api.github.com/repos/palecur/kibana/hooks","issue_events_url":"https://api.github.com/repos/palecur/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/palecur/kibana/events","assignees_url":"https://api.github.com/repos/palecur/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/palecur/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/palecur/kibana/tags","blobs_url":"https://api.github.com/repos/palecur/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palecur/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palecur/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/palecur/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palecur/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/palecur/kibana/languages","stargazers_url":"https://api.github.com/repos/palecur/kibana/stargazers","contributors_url":"https://api.github.com/repos/palecur/kibana/contributors","subscribers_url":"https://api.github.com/repos/palecur/kibana/subscribers","subscription_url":"https://api.github.com/repos/palecur/kibana/subscription","commits_url":"https://api.github.com/repos/palecur/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/palecur/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/palecur/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/palecur/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/palecur/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/palecur/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palecur/kibana/merges","archive_url":"https://api.github.com/repos/palecur/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palecur/kibana/downloads","issues_url":"https://api.github.com/repos/palecur/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/palecur/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/palecur/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/palecur/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palecur/kibana/labels{/name}","releases_url":"https://api.github.com/repos/palecur/kibana/releases{/id}","created_at":"2015-01-27T23:36:28Z","updated_at":"2015-04-01T23:55:54Z","pushed_at":"2015-05-18T02:33:07Z","git_url":"git://github.com/palecur/kibana.git","ssh_url":"git@github.com:palecur/kibana.git","clone_url":"https://github.com/palecur/kibana.git","svn_url":"https://github.com/palecur/kibana","homepage":"http://www.elasticsearch.org/overview/kibana/","size":51182,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"elastic:master","ref":"master","sha":"fbec460784b586ef83961d9942f28e4fab8e7273","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":"Kibana","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","created_at":"2013-01-26T04:00:59Z","updated_at":"2015-05-18T21:07:38Z","pushed_at":"2015-05-18T20:29:55Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":76059,"stargazers_count":3562,"watchers_count":3562,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1315,"mirror_url":null,"open_issues_count":477,"forks":1315,"open_issues":477,"watchers":3562,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/3813"},"html":{"href":"https://github.com/elastic/kibana/pull/3813"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/3813"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/3813/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/3813/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/3813/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/46de2986c35dca67fb17e829eff3691e0bbf3dcd"}}}}