主要区别
- KQL只是过滤不支持正则等
- KQL支持嵌套查询和脚本查询
-
"The Kibana Query Language (KQL) is a simple syntax for filtering Elasticsearch data using free text search or field-based search."
- 这句话的意思是,Kibana查询语言(KQL)是一个简单的语法,用于使用自由文本搜索或基于字段的搜索来过滤Elasticsearch中的数据。
-
"KQL is only used for filtering data, and has no role in sorting or aggregating the data."
- 这句话说明KQL仅用于过滤数据,并不涉及数据的排序或聚合。
-
"KQL is able to suggest field names, values, and operators as you type."
- 当你在输入时,KQL能够为你提供字段名、值和操作符的建议。
-
"The performance of the suggestions is controlled by Kibana settings:"
- 这句话表示建议的性能是由Kibana的设置来控制的。这意味着你可以调整Kibana的设置以优化或定制建议的性能。
-
"KQL has a different set of features than the Lucene query syntax."
- KQL与Lucene查询语法有不同的功能集合。换句话说,它们提供的特性和能力是不同的。
-
"KQL is able to query nested fields and scripted fields."
- KQL能够查询嵌套字段和脚本字段。这是KQL提供的一个独特功能。
-
"KQL does not support regular expressions or searching with fuzzy terms."
- KQL不支持正则表达式或模糊搜索。这是与Lucene查询语法或其他查询工具相比,KQL的一个限制。
-
"To use the legacy Lucene syntax, click KQL next to the Search field, and then turn off KQL."
- 如果你想要使用旧的Lucene语法,你可以点击搜索字段旁边的KQL,并关闭KQL。这为你提供了一个切换到另一种查询语法的选项。
总的来说,这段文字为我们提供了Kibana查询语言(KQL)的基本概述,包括其用途、特性、与其他查询语法的区别以及如何切换到其他查询语法。
留言