|
1 | 1 | [[tutorial-discovering]] |
2 | | -== Discovering Your Data |
| 2 | +== 探索你的数据 |
3 | 3 |
|
4 | | -Click *Discover* in the side navigation to display Kibana's data discovery functions: |
| 4 | +单击侧面导航中的 *Discover* 进入 Kibana 的数据探索功能: |
5 | 5 |
|
6 | 6 | image::images/tutorial-discover.png[] |
7 | 7 |
|
8 | | -In the query bar, you can enter an |
9 | | -{es-ref}query-dsl-query-string-query.html#query-string-syntax[Elasticsearch |
10 | | -query] to search your data. You can explore the results in Discover and create |
11 | | -visualizations of saved searches in Visualize. |
| 8 | +在查询框里,您可以输入 {es-ref}query-dsl-query-string-query.html#query-string-syntax[Elasticsearch 查询语句] 来搜索您的数据。您可以在 Discover 页面下查看搜索结果并在 Visualize 页面下生成已保存搜索的可视化效果。 |
12 | 9 |
|
13 | | -The current index pattern is displayed beneath the query bar. The index pattern |
14 | | -determines which indices are searched when you submit a query. To search a |
15 | | -different set of indices, select different pattern from the drop down menu. |
16 | | -To add an index pattern, go to *Management/Kibana/Index Patterns* and click |
17 | | -*Add New*. |
| 10 | +当前索引模式显示在查询栏下面。索引模式决定了当您提交查询时搜索哪些索引。要搜索一组不同的索引,可以从下拉菜单中选择不同的模式。要添加索引模式,请到 *Management/Kibana/Index Patterns* 界面下点击 *Add New* 。 |
18 | 11 |
|
19 | | -You can construct searches by using the field names and the values you're |
20 | | -interested in. With numeric fields you can use comparison operators such as |
21 | | -greater than (>), less than (<), or equals (=). You can link elements with the |
22 | | -logical operators AND, OR, and NOT, all in uppercase. |
| 12 | +您可以把您感兴趣的字段名称和值当做搜索的条件,对于数字字段您可以使用比较运算符,例如大于(>)、小于(<)或等于(=)。您可以使用逻辑运算符 AND,OR 和 NOT 连接搜索条件,这些运算符需要全部大写。 |
23 | 13 |
|
24 | | -To try it out, select the `ba*` index pattern and enter the following query string |
25 | | -in the query bar: |
| 14 | +尝试选择 `ba*` 索引模式并在查询栏中输入以下字符串: |
26 | 15 |
|
27 | 16 | [source,text] |
28 | 17 | account_number:<100 AND balance:>47500 |
29 | 18 |
|
30 | | -This query returns all account numbers between zero and 99 with balances in |
31 | | -excess of 47,500. When searching the sample bank data, it returns 5 results: |
32 | | -Account numbers 8, 32, 78, 85, and 97. |
| 19 | +此查询返回0到99之间所有余额超过47,500的账户号码。搜索银行样本数据时,它返回5个结果:帐户号码8,32,78,85和97。 |
33 | 20 |
|
34 | 21 | image::images/tutorial-discover-2.png[] |
35 | 22 |
|
36 | | -By default, all fields are shown for each matching document. To choose which |
37 | | -document fields to display, hover over the Available Fields list and click the |
38 | | -*add* button next to each field you want include. For example, if you add |
39 | | -just the `account_number`, the display changes to a simple list of five |
40 | | -account numbers: |
| 23 | +每个匹配的文档默认显示所有字段。可以将鼠标悬停在可用字段上并点击您想要展示字段旁边的 *add* 按钮来添加需要展示的字段。例如,如果您仅仅添加 `account_number` ,就只会显示5个简单的账户号码的列表: |
41 | 24 |
|
42 | 25 | image::images/tutorial-discover-3.png[] |
0 commit comments